diff options
Diffstat (limited to 'dot_config/sway')
-rw-r--r-- | dot_config/sway/config | 9 | ||||
-rw-r--r-- | dot_config/sway/config.d/50_systemd-user.conf | 8 |
2 files changed, 2 insertions, 15 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config index 84e7a53..562f48a 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -27,14 +27,6 @@ for_window [con_mark=$alphamark] opacity set $trans include /etc/sway/config-vars.d/* -### Things to run at start of session -exec { - # set a random background - swaybg-random ~/bg - # use footclient/footserver as our terminal - foot -s -} - ### Idle configuration exec swayidle -w \ timeout 180 $lock \ @@ -200,7 +192,6 @@ mode "resize" bindsym --to-code { } bindsym --to-code $mod+r mode "resize" -bar swaybar_command waybar exec_always pkill kanshi; exec kanshi font pango:Iosevka Regular 8 diff --git a/dot_config/sway/config.d/50_systemd-user.conf b/dot_config/sway/config.d/50_systemd-user.conf index 36652e7..89d654a 100644 --- a/dot_config/sway/config.d/50_systemd-user.conf +++ b/dot_config/sway/config.d/50_systemd-user.conf @@ -1,6 +1,2 @@ -# XDG_CURRENT_DESKTOP=sway is needed for screen sharing via xdg-desktop-portal -# to work. Taken from: -# https://github.com/emersion/xdg-desktop-portal-wlr/issues/193#issuecomment-1177369572 - -exec hash dbus-update-activation-environment 2>/dev/null && \ - dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway +exec ~/.local/lib/sway/session.sh +exec ~/.local/lib/sway/assign-cgroups.py |