diff options
| -rw-r--r-- | common/modules/x11/bspwm/default.nix | 4 | ||||
| -rw-r--r-- | flake.lock | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/common/modules/x11/bspwm/default.nix b/common/modules/x11/bspwm/default.nix index 8072fe2..711959a 100644 --- a/common/modules/x11/bspwm/default.nix +++ b/common/modules/x11/bspwm/default.nix @@ -20,6 +20,9 @@ let selection) ${pkgs.maim}/bin/maim -s | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png ;; + window) + ${pkgs.maim}/bin/maim -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png + ;; esac ''; @@ -138,6 +141,7 @@ in "Print" = "${snip} full"; "super + Print" = "${snip} selection"; + "super + shift + Print" = "${snip} window"; "super + {h,j,k,l}" = "bspc node -f {west,south,north,east}"; "super + shift + {h,j,k,l}" = "bspc node -s {west,south,north,east}"; @@ -306,11 +306,11 @@ ] }, "locked": { - "lastModified": 1773988994, - "narHash": "sha256-B89dboqh+sv8mHyxALtQia9/pEQpwI62BZG+F3oZ9C0=", + "lastModified": 1775406579, + "narHash": "sha256-YGWNg4tPaNLNseHrCZQTHQOLYN+RVv8sErUso2DDDn0=", "ref": "refs/heads/main", - "rev": "8a12dea75168890059315da02eb9bd9680936ac9", - "revCount": 8, + "rev": "4516a3335501d1f832e808eeb5ba2c8ff879500b", + "revCount": 9, "type": "git", "url": "https://codeberg.org/brustybee/mydwm" }, |
