diff --git a/modules/desktop/de/hyprland.nix b/modules/desktop/de/hyprland.nix index ac7a1f0..4b18ead 100644 --- a/modules/desktop/de/hyprland.nix +++ b/modules/desktop/de/hyprland.nix @@ -19,7 +19,7 @@ wl-clipboard brightnessctl helvum - walker + fuzzel playerctl swaynotificationcenter hyprshot diff --git a/stow/.config/fuzzel/.gitignore b/stow/.config/fuzzel/.gitignore new file mode 100644 index 0000000..64550cc --- /dev/null +++ b/stow/.config/fuzzel/.gitignore @@ -0,0 +1 @@ +colors.ini diff --git a/stow/.config/fuzzel/fuzzel.ini b/stow/.config/fuzzel/fuzzel.ini new file mode 100644 index 0000000..21e7912 --- /dev/null +++ b/stow/.config/fuzzel/fuzzel.ini @@ -0,0 +1,24 @@ +[main] +include = "~/.config/fuzzel/colors.ini" + +prompt="> " +placeholder="Search..." +password-character="*" + +width=40 +use-bold=no +dpi-aware=auto +tabs="4" +terminal="ghostty -e" +keyboard-focus=exclusive + +fields=filename,name,generic,exec,keywords,comment,categories +match-mode="fzf" +sort-result=yes + +layer=top + +[border] +width=2 +radius=10 +selection-radius=10 diff --git a/stow/.config/hypr/hyprland.conf b/stow/.config/hypr/hyprland.conf index 137e901..1c08bae 100755 --- a/stow/.config/hypr/hyprland.conf +++ b/stow/.config/hypr/hyprland.conf @@ -17,7 +17,6 @@ exec-once = uwsm app -- swww-daemon exec-once = uwsm app -- waybar exec-once = uwsm app -- swaync exec-once = hyprshade auto -exec-once = walker -A exec-once = uwsm app -- opensnitch-ui exec-once = systemctl --user start hyprpolkitagent @@ -146,7 +145,7 @@ input { # https://wiki.hyprland.org/Configuring/Variables/#gestures gesture = 3, horizontal, workspace -gesture = 4, pinch, dispatcher, exec, walker +gesture = 4, pinch, dispatcher, exec, fuzzel gesture = 4, left, dispatcher, exec, swaync-client -op gesture = 4, right, dispatcher, exec, swaync-client -cp @@ -168,7 +167,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, uwsm app -- ghostty bind = $mainMod, B, exec, uwsm app -- firefox -bind = $mainMod, D, exec, walker +bind = $mainMod, D, exec, fuzzel bind = $mainMod shift, D, exec, uwsm app -- 1password --quick-access bind = $mainMod, S, exec, uwsm app -- hyprshot -z --clipboard-only -m region bind = $mainMod shift, S, exec, uwsm app -- hyprshot -z --clipboard-only -m window diff --git a/stow/.config/matugen/config.toml b/stow/.config/matugen/config.toml index 9e3f0cd..a607365 100644 --- a/stow/.config/matugen/config.toml +++ b/stow/.config/matugen/config.toml @@ -72,3 +72,7 @@ output_path = '~/.cache/zsh_colours.sh' input_path = './templates/pure.fish' output_path = '~/.config/fish/pure_colours.fish' post_hook = 'fish ~/.config/fish/pure_colours.fish' + +[templates.fuzzel] +input_path = './templates/fuzzel.ini' +output_path = '~/.config/fuzzel/colors.ini' diff --git a/stow/.config/matugen/templates/fuzzel.ini b/stow/.config/matugen/templates/fuzzel.ini new file mode 100644 index 0000000..d6c657f --- /dev/null +++ b/stow/.config/matugen/templates/fuzzel.ini @@ -0,0 +1,18 @@ +# Fuzzel Colors +# Generated with Matugen + +[main] +font=ComicShannsMono Nerd Font + +[colors] +background={{colors.background.default.hex_stripped}}ff +text={{colors.on_surface.default.hex_stripped}}ff +prompt={{colors.secondary.default.hex_stripped}}ff +placeholder={{colors.tertiary.default.hex_stripped}}ff +input={{colors.primary.default.hex_stripped}}ff +match={{colors.tertiary.default.hex_stripped}}ff +selection={{colors.primary.default.hex_stripped}}ff +selection-text={{colors.background.default.hex_stripped}}ff +selection-match={{colors.on_primary.default.hex_stripped}}ff +counter={{colors.secondary.default.hex_stripped}}ff +border={{colors.primary.default.hex_stripped}}ff