Add config/rofi
I'll add some menu scripts soon.
This commit is contained in:
parent
91fdcf5908
commit
437ee7289f
3
config/rofi/env.zsh
Normal file
3
config/rofi/env.zsh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
export PATH="$XDG_CONFIG_HOME/rofi/bin:$PATH"
|
|
@ -5,7 +5,7 @@
|
|||
systemPackages = with pkgs; [
|
||||
(writeScriptBin "rofi" ''
|
||||
#!${stdenv.shell}
|
||||
exec ${rofi}/bin/rofi -terminal xst -theme "$XDG_CONFIG_HOME/rofi/theme" -m -1 $@
|
||||
exec ${rofi}/bin/rofi -terminal xst -m -1 $@
|
||||
'')
|
||||
rofi
|
||||
];
|
||||
|
@ -16,5 +16,6 @@
|
|||
home-manager.users.hlissner.xdg.configFile = {
|
||||
# link recursively so other modules can link files in its folder
|
||||
"rofi" = { source = <config/rofi>; recursive = true; };
|
||||
"zsh/rc.d/env.rofi.zsh".source = <config/rofi/env.zsh>;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue