simplify rofi script

This commit is contained in:
Griffin Smith 2020-04-08 23:23:49 -04:00
parent fae347ee0f
commit bf92d3b740

View file

@ -95,15 +95,13 @@ in {
''}"; ''}";
# Launching applications # Launching applications
"${mod}+u" = "${mod}+u" = "exec ${pkgs.writeShellScript "rofi" ''
let rofi = pkgs.writeShellScript "rofi" ''
rofi \ rofi \
-modi 'combi' \ -modi 'combi' \
-combi-modi "window,drun,ssh,run" \ -combi-modi "window,drun,ssh,run" \
-font '${decorationFont}' \ -font '${decorationFont}' \
-show combi -show combi
''; ''}";
in "exec ${rofi}";
# Passwords # Passwords
"${mod}+p" = "exec rofi-pass -font '${decorationFont}'"; "${mod}+p" = "exec rofi-pass -font '${decorationFont}'";