From 816f84059dd21bdc36788e3df32e235957908e8a Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 24 Sep 2024 18:23:22 -0500 Subject: [PATCH] menu: fix and modify walker Signed-off-by: Myned --- options/custom/desktops/hyprland/binds.nix | 4 ++-- options/custom/programs/walker/default.nix | 16 +++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/options/custom/desktops/hyprland/binds.nix b/options/custom/desktops/hyprland/binds.nix index 8eabbc9..81ca73e 100644 --- a/options/custom/desktops/hyprland/binds.nix +++ b/options/custom/desktops/hyprland/binds.nix @@ -108,11 +108,11 @@ in { (key "Control_L" "Super+Ctrl+Alt+Shift" "layoutmsg" "removemaster") (key "Control_L" "Super+Ctrl+Shift" "layoutmsg" "addmaster") (key "Shift_L" "Super+Shift" "workspace" "previous") - (key "Super_L" "Super" "exec" "${menu} --applications") + (key "Super_L" "Super" "exec" "${menu}") (key "Super_L" "Super+Alt" "exec" "${menu} --passwords") (key "Super_L" "Super+Ctrl" "exec" "${menu} --calculator") (key "Super_L" "Super+Ctrl+Shift" "exec" "${menu} --networks") - (key "Super_L" "Super+Shift" "exec" "${menu} --runner") + (key "Super_L" "Super+Shift" "exec" "${menu} --search") ]; # Regular binds diff --git a/options/custom/programs/walker/default.nix b/options/custom/programs/walker/default.nix index 91b27b2..21611f0 100644 --- a/options/custom/programs/walker/default.nix +++ b/options/custom/programs/walker/default.nix @@ -28,7 +28,10 @@ in { # https://github.com/abenz1267/walker/blob/master/internal/config/config.default.json config = { activation_mode.disabled = true; # Key chords - ignore_mouse = true; # Hover interrupts keyboard selections + + # BUG: Hover interrupts keyboard selections + ignore_mouse = true; + search.placeholder = ""; disabled = [ @@ -39,17 +42,17 @@ in { # https://github.com/abenz1267/walker/wiki/Modules # https://www.nerdfonts.com/cheat-sheet builtins = { - calculator.switcher_only = false; + calc.switcher_only = true; clipboard.switcher_only = true; commands.switcher_only = true; custom_commands.switcher_only = true; - runner.switcher_only = true; + runner.switcher_only = false; ssh.switcher_only = true; windows.switcher_only = true; applications = { - # BUG: Ghost entries are still visible - #// actions = false; # Desktop file actions + # BUG: Ghost entries are still visible with single module + actions = false; # Desktop file actions switcher_only = false; }; @@ -71,6 +74,9 @@ in { }; websearch = { + # TODO: Implement custom search engine + engines = ["duckduckgo"]; + placeholder = "Search"; switcher_only = true; };