Move swaynag to the bottom and adjust swaynag type for reboot and shut down.
This commit is contained in:
parent
a5873a8095
commit
69ba9fb8cb
|
@ -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:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
font=Fira Sans Condensed SemiBold 12
|
||||
edge=bottom
|
||||
|
||||
[warning]
|
||||
background=b58900bf
|
||||
border-bottom=b58900bf
|
||||
|
|
Loading…
Reference in a new issue