feat: change application launcher to walker

This commit is contained in:
Zhongheng Liu 2024-12-28 08:40:45 +02:00
commit 444e364d7e
Signed by: steven
GPG key ID: 805A28B071DAD84B
3 changed files with 23 additions and 1 deletions

View file

@ -5,6 +5,7 @@
... ...
}: let }: let
terminalCmd = "${pkgs.foot}/bin/footclient"; terminalCmd = "${pkgs.foot}/bin/footclient";
appLauncherCmd = "${pkgs.walker}/bin/walker";
screenshotLocation = "/home/${config.myUserName}/Screenshots/$(date '+%Y-%m-%d-%H-%M-%S').png"; screenshotLocation = "/home/${config.myUserName}/Screenshots/$(date '+%Y-%m-%d-%H-%M-%S').png";
in in
[ [
@ -21,7 +22,7 @@ in
# keysyms for util functions # keysyms for util functions
# Example volume button that allows press and hold, volume limited to 150% # Example volume button that allows press and hold, volume limited to 150%
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel" "$mod, D, exec, ${appLauncherCmd}"
"$mod, F, fullscreen" "$mod, F, fullscreen"
"$mod, E, exec, ${config.defaultApplications.fileManager}" "$mod, E, exec, ${config.defaultApplications.fileManager}"
# foot terminal # foot terminal

View file

@ -9,5 +9,6 @@
./rofi.nix ./rofi.nix
./tmux.nix ./tmux.nix
./foot.nix ./foot.nix
#./walker.nix
]; ];
} }

View file

@ -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.
};
}