feat(fuzzel): try it out
This commit is contained in:
parent
c6d82a0dde
commit
996d81afb4
4 changed files with 59 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ in
|
|||
$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"
|
||||
$DRY_RUN_CMD ln -sf "$cfg/fuzzel/themes/$theme.ini" "$cfg/fuzzel/themes/theme.ini"
|
||||
''}
|
||||
$DRY_RUN_CMD ln -sf "$cfg/sioyek/themes/$theme.config" "$cfg/sioyek/themes/theme.config"
|
||||
$DRY_RUN_CMD ln -sf "$cfg/fzf/themes/$theme" "$cfg/fzf/themes/theme"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,23 @@ let
|
|||
#window { color: ${palette.fgAlt}; }
|
||||
tooltip { background: ${palette.bgAlt}; color: ${palette.fg}; border: 1px solid ${palette.border}; }
|
||||
'';
|
||||
|
||||
hexToFuzzel = hex: "${builtins.substring 1 6 hex}ff";
|
||||
|
||||
mkFuzzelTheme = palette: ''
|
||||
[colors]
|
||||
background=${hexToFuzzel palette.bg}
|
||||
text=${hexToFuzzel palette.fg}
|
||||
prompt=${hexToFuzzel palette.fgAlt}
|
||||
placeholder=${hexToFuzzel palette.fgAlt}
|
||||
input=${hexToFuzzel palette.fg}
|
||||
match=${hexToFuzzel palette.accent}
|
||||
selection=${hexToFuzzel palette.bgAlt}
|
||||
selection-text=${hexToFuzzel palette.fg}
|
||||
selection-match=${hexToFuzzel palette.accent}
|
||||
border=${hexToFuzzel palette.border}
|
||||
counter=${hexToFuzzel palette.fgAlt}
|
||||
'';
|
||||
in
|
||||
{
|
||||
home.sessionVariables = {
|
||||
|
|
@ -35,6 +52,7 @@ in
|
|||
home.packages = with pkgs; [
|
||||
nerd-fonts.symbols-only
|
||||
psmisc
|
||||
fuzzel
|
||||
rofi
|
||||
wl-clipboard
|
||||
cliphist
|
||||
|
|
@ -248,4 +266,9 @@ in
|
|||
xdg.configFile."waybar/themes/midnight.css".text = mkWaybarTheme config.palettes.midnight;
|
||||
xdg.configFile."waybar/themes/daylight.css".text = mkWaybarTheme config.palettes.daylight;
|
||||
|
||||
xdg.configFile."fuzzel/fuzzel.ini".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.config/nix/config/fuzzel/fuzzel.ini";
|
||||
xdg.configFile."fuzzel/themes/midnight.ini".text = mkFuzzelTheme config.palettes.midnight;
|
||||
xdg.configFile."fuzzel/themes/daylight.ini".text = mkFuzzelTheme config.palettes.daylight;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue