From 71a6951a62b7dc63b54723dd0e60e3f11edfe25c Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 29 Dec 2022 16:32:27 -0500 Subject: [PATCH] Add template for rofi-power-menu shortcut --- dot_config/sxhkd/sxhkdrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/sxhkd/sxhkdrc b/dot_config/sxhkd/sxhkdrc index c9e5fd7..c452c0c 100644 --- a/dot_config/sxhkd/sxhkdrc +++ b/dot_config/sxhkd/sxhkdrc @@ -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