From 0934faacfb089c3522ed3bbf3f05e5eab3c253e3 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Tue, 11 Jul 2023 22:13:19 +0530 Subject: [PATCH] float kitty windows for ytfzf --- home/wm/hyprland/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index eeb6081..cff0131 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -108,6 +108,10 @@ in { windowrulev2 = size 50% 50%,class:^(.blueman-manager-wrapped)$ windowrulev2 = center,class:^(.blueman-manager-wrapped)$ + windowrulev2 = float,class:^(ytfzf)$ + windowrulev2 = size 90% 90%,class:^(ytfzf)$ + windowrulev2 = center,class:^(ytfzf)$ + windowrulev2 = float,class:^(mpv)$ windowrulev2 = size 90% 90%,class:^(mpv)$ windowrulev2 = center,class:^(mpv)$ @@ -175,6 +179,7 @@ in { bind = SUPER_ALT,W, exec, ${wallhaven-wallpaper} bind = SUPER_SHIFT,escape, exec, ${pkgs.scripts}/bin/power-menu bind = SUPER,f11, exec, ${pkgs.scripts}/bin/tmux-sessions + bind = SUPER_SHIFT,y, exec, ${pkgs.scripts}/bin/youtube bindr = ,print, exec, ${grim} "''$(${xdg-user-dir} PICTURES)/Screenshots/screenshot-''$(date +%Y-%m-%d-%H-%M-%S).png" bindr = SHIFT,print, exec, ${grim} -g "''$(${slurp})" "''$(${xdg-user-dir} PICTURES)/Screenshots/screenshot-''$(date +%Y-%m-%d-%H-%M-%S).png"