From 86f93d708bb9b44eccd793930f60bcd2c450bb81 Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Sat, 21 May 2022 18:26:54 -0700 Subject: [PATCH] Switch 'exit i3' workflow for 'exit sway' This just drops i3-nagbar for swaynag, changes i3-msg to swaymsg, and mentions of i3 to sway. The former even worked fine, just did weird things with windowing. --- .config/sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index a46ac36..2c895ef 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -164,8 +164,8 @@ bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +# exit sway (logs you out of your X session) +bindsym $mod+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your X session.' -B 'Yes, exit' 'sway-msg exit'" # resize window (you can also use the mouse for that) mode "resize" {