summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2026-02-08 23:35:34 +0530
committersinanmohd <sinan@sinanmohd.com>2026-02-09 00:40:49 +0530
commitfcc3165f3369cad0486d5ce8b0f34417431da75c (patch)
treebf0a2c7ffb21d3e8aa8303d571a399783f9d69d7 /home
parent7542b49a5f093ad0d22f3cd964cdbc7ce338aa94 (diff)
fix(home/wayland/sway): add key bindings for damb & dbook
Diffstat (limited to 'home')
-rw-r--r--home/wayland/modules/sway/home.nix4
-rwxr-xr-xhome/wayland/pkgs/wayland-scripts/src/bin/damb2
2 files changed, 5 insertions, 1 deletions
diff --git a/home/wayland/modules/sway/home.nix b/home/wayland/modules/sway/home.nix
index afd62f8..ddaea52 100644
--- a/home/wayland/modules/sway/home.nix
+++ b/home/wayland/modules/sway/home.nix
@@ -76,6 +76,8 @@ let
wpctl = "${pkgs.wireplumber}/bin/wpctl";
brightnessctl = lib.getExe pkgs.brightnessctl;
freezshot = "${wayland-scripts}/bin/freezshot";
+ damb = "${wayland-scripts}/bin/damb";
+ dbook = "${wayland-scripts}/bin/dbook";
mako = lib.getExe config.services.mako.package;
firefox = lib.getExe config.programs.firefox.finalPackage;
@@ -217,6 +219,8 @@ in
# exec
"print" = "exec ${freezshot}";
"${mod}+return" = "exec ${foot}";
+ "${mod}+a" = "exec ${damb}";
+ "${mod}+d" = "exec ${dbook}";
"${mod}+o" = "exec ${bemenu}";
"${mod}+w" = "exec ${firefox}";
"${mod}+backslash" = "exec ${yazi}";
diff --git a/home/wayland/pkgs/wayland-scripts/src/bin/damb b/home/wayland/pkgs/wayland-scripts/src/bin/damb
index 53d0cad..eafa3e0 100755
--- a/home/wayland/pkgs/wayland-scripts/src/bin/damb
+++ b/home/wayland/pkgs/wayland-scripts/src/bin/damb
@@ -19,7 +19,7 @@ usage()
{
cat <<- EOF
Usage: damb [ command ] [ option ]
- a bookmark manager using dmenu
+ sete ambiance using dmenu
Commands:
help show this help cruft
save <key> <value>, save a new key