aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-06-09 21:10:11 +0200
committerAdrian Kummerlaender2021-06-09 21:10:11 +0200
commitaa7459de79f30abe8657296c2a5f805483aaad3d (patch)
tree20dced3a5d950738742a2bba1a784cd036e8a753 /gui
parent2c6e88858eda9df3b301ea41c6fc4bd304d80d5c (diff)
downloadnixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.tar
nixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.tar.gz
nixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.tar.bz2
nixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.tar.lz
nixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.tar.xz
nixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.tar.zst
nixos_home-aa7459de79f30abe8657296c2a5f805483aaad3d.zip
Update rofi config
Diffstat (limited to 'gui')
-rw-r--r--gui/rofi.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/gui/rofi.nix b/gui/rofi.nix
index 034abdc..99826e4 100644
--- a/gui/rofi.nix
+++ b/gui/rofi.nix
@@ -1,9 +1,9 @@
{ config, pkgs, ... }:
let
- hidpiExtraConfig = if config.custom.hidpi then ''
- rofi.dpi: 160
- '' else "";
+ hidpiExtraConfig = if config.custom.hidpi then {
+ dpi = 160;
+ } else { };
in {
programs.rofi = {
@@ -52,12 +52,11 @@ in {
};
};
- extraConfig = ''
- rofi.modi: combi
- rofi.combi-modi: windowcd,drun,ssh
- rofi.terminal: kitty
- rofi.ssh-command: {terminal} {ssh-client} {host}
- ${hidpiExtraConfig}
- '';
+ extraConfig = {
+ modi = "combi";
+ combi-modi = "windowcd,drun,ssh";
+ terminal = "kitty";
+ ssh-command = "{terminal} {ssh-client} {host}";
+ } // hidpiExtraConfig;
};
}