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
|
### 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
|
output * bg /usr/share/backgrounds/Artix_dna_spiral_dark.jpg fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
|
@ -91,14 +91,10 @@ exec swayidle -w \
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'Log out?' -b 'Yes' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'Log out?' -b 'Yes' 'swaymsg exit'
|
||||||
|
|
||||||
# Reboot
|
# Reboot
|
||||||
bindsym $mod+Shift+r exec swaynag -t warning -m 'Reboot?' -b 'Yes' 'doas reboot'
|
bindsym $mod+Shift+r exec swaynag -t error -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'
|
|
||||||
|
|
||||||
# Power off
|
# Power off
|
||||||
bindsym $mod+Shift+q exec swaynag -t warning -m 'Shut down?' -b 'Yes' 'doas poweroff'
|
bindsym $mod+Shift+q exec swaynag -t error -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'
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Screenshotting:
|
# Screenshotting:
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
font=Fira Sans Condensed SemiBold 12
|
||||||
|
edge=bottom
|
||||||
|
|
||||||
[warning]
|
[warning]
|
||||||
background=b58900bf
|
background=b58900bf
|
||||||
border-bottom=b58900bf
|
border-bottom=b58900bf
|
||||||
|
|
Loading…
Reference in a new issue