Add template for rofi-power-menu shortcut

This commit is contained in:
Andrew Scott 2022-12-29 16:32:27 -05:00
parent e38ad09bb8
commit 71a6951a62
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -11,9 +11,12 @@ super + @space
rofi -dpi 240 -modi drun, run -show drun -show-icons
# power menu
{{- if eq .chezmoi.hostname "helix"}}
super + @End
rofi -dpi 240 -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
{{- else }}
rofi -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
{{ end }}
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd