Add configs for swaywm and waybar

This commit is contained in:
2021-10-06 18:59:14 +03:00
parent 8b2b4debfa
commit ad4446f61b
6 changed files with 307 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
# See FS#63021
# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK