simplify rofi script
This commit is contained in:
parent
fae347ee0f
commit
bf92d3b740
1 changed files with 2 additions and 4 deletions
|
@ -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}'";
|
||||||
|
|
Loading…
Reference in a new issue