feat: try out sherlock

This commit is contained in:
Barrett Ruth 2026-02-14 11:40:28 -05:00
parent 52cae087bf
commit 1cf3b46bd0
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
6 changed files with 107 additions and 1 deletions

View file

@ -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/sherlock/themes/$theme.css" "$cfg/sherlock/main.css"
''}
$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"

View file

@ -206,6 +206,28 @@ in
'';
};
programs.sherlock = {
enable = true;
systemd.enable = true;
settings = {
appearance = {
width = 600;
height = 400;
opacity = 1.0;
};
behavior.animate = false;
};
launchers = [
{ name = "App Launcher"; type = "app_launcher"; priority = 1; args = {}; }
{ name = "Calculator"; type = "calculation"; priority = 2; args = {}; }
];
};
xdg.configFile."sherlock/themes/midnight.css".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.config/nix/config/sherlock/themes/midnight.css";
xdg.configFile."sherlock/themes/daylight.css".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.config/nix/config/sherlock/themes/daylight.css";
xdg.configFile."rofi/config.rasi".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.config/nix/config/rofi/config.rasi";
xdg.configFile."rofi/themes/midnight.rasi".source =