From 69ba9fb8cb08c389f242bb72fac20785320df0c6 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Sat, 25 Dec 2021 19:30:20 +0100 Subject: [PATCH] Move swaynag to the bottom and adjust swaynag type for reboot and shut down. --- sway/.config/sway/config | 10 +++------- swaynag/.config/swaynag/config | 3 +++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 1076fec..5d2c6c2 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -22,7 +22,7 @@ set $menu exec $term --class launcher -t "Application Launcher" -e env HIST_FILE ### Output configuration # -# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) +# Default wallpaper output * bg /usr/share/backgrounds/Artix_dna_spiral_dark.jpg fill # # Example configuration: @@ -91,14 +91,10 @@ exec swayidle -w \ bindsym $mod+Shift+e exec swaynag -t warning -m 'Log out?' -b 'Yes' 'swaymsg exit' # Reboot - bindsym $mod+Shift+r exec swaynag -t warning -m 'Reboot?' -b 'Yes' 'doas reboot' - # Uncomment to use sudo instead of doas, comment the above - #bindsym $mod+Shift+r exec swaynag -t warning -m 'Reboot?' -b 'Yes' 'sudo reboot' + bindsym $mod+Shift+r exec swaynag -t error -m 'Reboot?' -b 'Yes' 'doas reboot' # Power off - bindsym $mod+Shift+q exec swaynag -t warning -m 'Shut down?' -b 'Yes' 'doas poweroff' - # Uncomment to use sudo instead of doas, comment the above - #bindsym $mod+Shift+q exec swaynag -t warning -m 'Shut down?' -b 'Yes' 'sudo poweroff' + bindsym $mod+Shift+q exec swaynag -t error -m 'Shut down?' -b 'Yes' 'doas poweroff' # # Screenshotting: diff --git a/swaynag/.config/swaynag/config b/swaynag/.config/swaynag/config index 088207c..84d40bd 100644 --- a/swaynag/.config/swaynag/config +++ b/swaynag/.config/swaynag/config @@ -1,3 +1,6 @@ +font=Fira Sans Condensed SemiBold 12 +edge=bottom + [warning] background=b58900bf border-bottom=b58900bf