From fcdaf85cf899b7a7e0d5afbaed3d1eb8bf25c025 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 13 Jan 2025 13:10:05 -0500 Subject: [PATCH] AutoYADM commit: 2025-01-13 13:10:05 --- .config/sway/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index 7d0ae61d..900d32b8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -22,6 +22,8 @@ set $menu tofi-run | xargs swaymsg exec -- set $drun tofi-drun --drun-launch=true set $wallpaper ~/Pictures/wallpapers/sidonia-blurred.png +set $exitcmd echo -e "No\nYes" | tofi --prompt-text="u sure u wanna exit lil bro?: " | grep -q Yes && swaymsg exit + set $bg #121212 set $fg #f5f5f5 @@ -141,7 +143,7 @@ default_floating_border pixel 1 bindsym $mod+Shift+r reload # Exit sway (logs you out of your Wayland session) - bindsym $mod+Shift+l exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + bindsym $mod+Shift+l exec $exitcmd # # Moving around: #