fix scripts and tmux
This commit is contained in:
parent
3946ea2db7
commit
3b8a915fb1
8 changed files with 31 additions and 16 deletions
|
|
@ -218,8 +218,4 @@ in
|
|||
xdg.configFile."hypr/themes/midnight.conf".text = mkHyprTheme config.palettes.midnight;
|
||||
xdg.configFile."hypr/themes/daylight.conf".text = mkHyprTheme config.palettes.daylight;
|
||||
|
||||
home.activation.linkHyprTheme = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
target="${config.xdg.configHome}/hypr/themes/theme.conf"
|
||||
$DRY_RUN_CMD ln -sf "${config.xdg.configHome}/hypr/themes/${config.theme}.conf" "$target"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,5 +82,13 @@ in
|
|||
echo " copy your fonts into ~/.config/nix/fonts/ and rebuild"
|
||||
fi
|
||||
'';
|
||||
|
||||
home.activation.linkTheme = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
cfg="${config.xdg.configHome}"
|
||||
theme="${config.theme}"
|
||||
$DRY_RUN_CMD ln -sf "$cfg/hypr/themes/$theme.conf" "$cfg/hypr/themes/theme.conf"
|
||||
$DRY_RUN_CMD ln -sf "$cfg/waybar/themes/$theme.css" "$cfg/waybar/themes/theme.css"
|
||||
$DRY_RUN_CMD ln -sf "$cfg/rofi/themes/$theme.rasi" "$cfg/rofi/themes/theme.rasi"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -176,10 +176,6 @@ in
|
|||
xdg.configFile."rofi/themes/daylight.rasi".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.config/nix/config/rofi/themes/daylight.rasi";
|
||||
|
||||
home.activation.linkRofiTheme = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
target="${config.xdg.configHome}/rofi/themes/theme.rasi"
|
||||
$DRY_RUN_CMD ln -sf "${config.xdg.configHome}/rofi/themes/${config.theme}.rasi" "$target"
|
||||
'';
|
||||
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
|
|
@ -212,9 +208,4 @@ in
|
|||
xdg.configFile."waybar/themes/midnight.css".text = mkWaybarTheme config.palettes.midnight;
|
||||
xdg.configFile."waybar/themes/daylight.css".text = mkWaybarTheme config.palettes.daylight;
|
||||
|
||||
home.activation.linkWaybarTheme = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
target="${config.xdg.configHome}/waybar/themes/theme.css"
|
||||
$DRY_RUN_CMD ln -sf "${config.xdg.configHome}/waybar/themes/${config.theme}.css" "$target"
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue