1
1
Fork 0

hyprland: add bind to switch pip position

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-28 21:36:46 -05:00
parent a91a991ba0
commit 493e552cde
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -41,6 +41,7 @@ with lib; let
vrr = config.home-manager.users.${config.custom.username}.home.file.".local/bin/vrr".source; vrr = config.home-manager.users.${config.custom.username}.home.file.".local/bin/vrr".source;
walker = "${config.home-manager.users.${config.custom.username}.programs.walker.package}/bin/walker"; walker = "${config.home-manager.users.${config.custom.username}.programs.walker.package}/bin/walker";
waydroid = "${pkgs.waydroid}/bin/waydroid"; waydroid = "${pkgs.waydroid}/bin/waydroid";
window = config.home-manager.users.${config.custom.username}.home.file.".local/bin/window".source;
zoom = config.home-manager.users.${config.custom.username}.home.file.".local/bin/zoom".source; zoom = config.home-manager.users.${config.custom.username}.home.file.".local/bin/zoom".source;
cfg = config.custom.desktops.hyprland.binds; cfg = config.custom.desktops.hyprland.binds;
@ -173,6 +174,14 @@ in {
"--workspace special:pip" "--workspace special:pip"
])) ]))
(key "Space" "Super" "togglespecialworkspace" "scratchpad") (key "Space" "Super" "togglespecialworkspace" "scratchpad")
(key "Space" "Super+Ctrl+Shift" "exec" (with config.custom;
concatStringsSep " " [
"${window} move"
"--current"
"--property title"
"'^Picture.in.[Pp]icture$'"
"${toString (gap + border)},${toString (gap + border)}"
]))
(key "Space" "Super+Shift" "movetoworkspacesilent" "special:scratchpad") (key "Space" "Super+Shift" "movetoworkspacesilent" "special:scratchpad")
(key "Tab" "Super" "cyclenext" "tiled") (key "Tab" "Super" "cyclenext" "tiled")
(key "Tab" "Super+Shift" "alterzorder" "top") (key "Tab" "Super+Shift" "alterzorder" "top")