hyprland: add bind to switch pip position
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
a91a991ba0
commit
493e552cde
1 changed files with 9 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue