Swaynag: Add seperate color for reboot

This commit is contained in:
the_4n0nym0u53 2022-02-19 23:59:23 +01:00
parent 5345ff91ab
commit 7e8a59ae9c
No known key found for this signature in database
GPG Key ID: 35EE09F5481049BB
2 changed files with 13 additions and 5 deletions

View File

@ -24,9 +24,9 @@ bindsym $mod+Shift+c reload
bindsym $mod+l exec swaylock
# Session and power management
bindsym $mod+Shift+e exec swaynag -t warning -m 'Log out?' -b 'Yes' 'swaymsg exit'
bindsym $mod+Shift+r exec swaynag -t error -m 'Reboot?' -b 'Yes' 'doas reboot'
bindsym $mod+Shift+q exec swaynag -t error -m 'Shut down?' -b 'Yes' 'doas poweroff'
bindsym $mod+Shift+e exec swaynag -t logout -m 'Log out?' -b 'Yes' 'swaymsg exit'
bindsym $mod+Shift+r exec swaynag -t reboot -m 'Reboot?' -b 'Yes' 'doas reboot'
bindsym $mod+Shift+q exec swaynag -t shutdown -m 'Shut down?' -b 'Yes' 'doas poweroff'
# Screenshotting
bindsym Print exec grimshot --notify save output

View File

@ -1,7 +1,7 @@
font=Fira Sans Condensed SemiBold 12
edge=top
[warning]
[logout]
background=b58900bf
border-bottom=b58900bf
border=b58900
@ -9,7 +9,15 @@ button-background=b58900
button-text=eee8d5
text=eee8d5
[error]
[reboot]
background=cb4b16bf
border-bottom=cb4b16bf
border=cb4b16
button-background=cb4b16
button-text=eee8d5
text=eee8d5
[shutdown]
background=dc322fbf
border-bottom=dc322fbf
border=dc322f