feat: try out sherlock
This commit is contained in:
parent
52cae087bf
commit
1cf3b46bd0
6 changed files with 107 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ bindul = , XF86AudioMute, exec, hypr volume toggle
|
|||
bindul = , XF86MonBrightnessUp, exec, hypr brightness up
|
||||
bindul = , XF86MonBrightnessDown, exec, hypr brightness down
|
||||
|
||||
bind = ALT, SPACE, exec, rofi -show run
|
||||
bind = ALT, SPACE, exec, sherlock
|
||||
bind = ALT, TAB, workspace, previous
|
||||
bind = ALT, A, cyclenext
|
||||
bind = ALT, B, exec, pkill -USR1 waybar || waybar
|
||||
|
|
|
|||
43
config/sherlock/themes/daylight.css
Normal file
43
config/sherlock/themes/daylight.css
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
:root {
|
||||
--background: #f5f5f5;
|
||||
--foreground: #ebebeb;
|
||||
--text: #1a1a1a;
|
||||
--border: #e8e8e8;
|
||||
--tag-background: rgba(153, 153, 153, 0.2);
|
||||
--tag-color: #3b5bdb;
|
||||
--error: #c7254e;
|
||||
--warning: #996800;
|
||||
--success: #2d7f3e;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: "SF Pro Display", sans-serif;
|
||||
}
|
||||
|
||||
window:not(#backdrop) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.tile {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.tag {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#shortcut-holder {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#context-menu {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
image.reactive {
|
||||
-gtk-icon-filter: brightness(0);
|
||||
}
|
||||
|
||||
#search-icon-holder image {
|
||||
-gtk-icon-filter: brightness(0);
|
||||
}
|
||||
35
config/sherlock/themes/midnight.css
Normal file
35
config/sherlock/themes/midnight.css
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
:root {
|
||||
--background: #121212;
|
||||
--foreground: #2d2d2d;
|
||||
--text: #e0e0e0;
|
||||
--border: #3d3d3d;
|
||||
--tag-background: rgba(102, 102, 102, 0.3);
|
||||
--tag-color: #7aa2f7;
|
||||
--error: #ff6b6b;
|
||||
--warning: #e5c07b;
|
||||
--success: #98c379;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: "SF Pro Display", sans-serif;
|
||||
}
|
||||
|
||||
window:not(#backdrop) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.tile {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.tag {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#shortcut-holder {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#context-menu {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -85,6 +85,11 @@ Linux)
|
|||
ln -sf "$hypr_themes/$theme.conf" "$hypr_themes/theme.conf"
|
||||
}
|
||||
|
||||
sherlock_themes="$cfg/sherlock/themes"
|
||||
[ -f "$sherlock_themes/$theme.css" ] && {
|
||||
ln -sf "$sherlock_themes/$theme.css" "$cfg/sherlock/main.css"
|
||||
}
|
||||
|
||||
sioyek_themes="$cfg/sioyek/themes"
|
||||
[ -f "$sioyek_themes/$theme.config" ] && {
|
||||
ln -sf "$sioyek_themes/$theme.config" "$sioyek_themes/theme.config"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue