aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-12-28 08:40:45 +0200
committerZhongheng Liu <z.liu@outlook.com.gr>2024-12-28 08:40:45 +0200
commit444e364d7e1c55929317bb78737b1b55d2709284 (patch)
tree917d7403920cabd10e30510713600987c79e85e9
parentdc9f6237850bc05f8c6504435dcee77b21d18ab3 (diff)
downloadnixos-configuration-444e364d7e1c55929317bb78737b1b55d2709284.tar.gz
nixos-configuration-444e364d7e1c55929317bb78737b1b55d2709284.tar.bz2
nixos-configuration-444e364d7e1c55929317bb78737b1b55d2709284.zip
feat: change application launcher to walker
-rw-r--r--home-manager/stvnliu/hypr/hyprland/binds.nix3
-rw-r--r--home-manager/stvnliu/programs/default.nix1
-rw-r--r--home-manager/stvnliu/programs/walker.nix20
3 files changed, 23 insertions, 1 deletions
diff --git a/home-manager/stvnliu/hypr/hyprland/binds.nix b/home-manager/stvnliu/hypr/hyprland/binds.nix
index dd46cbb..692a2f2 100644
--- a/home-manager/stvnliu/hypr/hyprland/binds.nix
+++ b/home-manager/stvnliu/hypr/hyprland/binds.nix
@@ -5,6 +5,7 @@
...
}: let
terminalCmd = "${pkgs.foot}/bin/footclient";
+ appLauncherCmd = "${pkgs.walker}/bin/walker";
screenshotLocation = "/home/${config.myUserName}/Screenshots/$(date '+%Y-%m-%d-%H-%M-%S').png";
in
[
@@ -21,7 +22,7 @@ in
# keysyms for util functions
# Example volume button that allows press and hold, volume limited to 150%
"$mod, Q, killactive"
- "$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
+ "$mod, D, exec, ${appLauncherCmd}"
"$mod, F, fullscreen"
"$mod, E, exec, ${config.defaultApplications.fileManager}"
# foot terminal
diff --git a/home-manager/stvnliu/programs/default.nix b/home-manager/stvnliu/programs/default.nix
index 6451c71..5e4ee2e 100644
--- a/home-manager/stvnliu/programs/default.nix
+++ b/home-manager/stvnliu/programs/default.nix
@@ -9,5 +9,6 @@
./rofi.nix
./tmux.nix
./foot.nix
+ #./walker.nix
];
}
diff --git a/home-manager/stvnliu/programs/walker.nix b/home-manager/stvnliu/programs/walker.nix
new file mode 100644
index 0000000..2815a1e
--- /dev/null
+++ b/home-manager/stvnliu/programs/walker.nix
@@ -0,0 +1,20 @@
+{
+ pkgs,
+ config,
+ ...
+}: {
+ programs.walker = {
+ enable = true;
+ runAsService = true;
+
+ # All options from the config.json can be used here.
+ config = {
+ search.placeholder = "Example";
+ list = {height = 200;};
+ websearch.prefix = "?";
+ switcher.prefix = "/";
+ };
+
+ # If this is not set the default styling is used.
+ };
+}