From 38df8196b8c458bad532cedf13044c410fa3522a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 5 May 2024 13:38:09 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(hypr):=20delete?= =?UTF-8?q?=20some=20redundant=20code=20for=20the=20scratchpad=20and=20scr?= =?UTF-8?q?eenshot=20bindings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/configs/binds.conf | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.config/hypr/configs/binds.conf b/.config/hypr/configs/binds.conf index f38f62a3..1b3f66fa 100644 --- a/.config/hypr/configs/binds.conf +++ b/.config/hypr/configs/binds.conf @@ -34,21 +34,21 @@ bind = SUPER, Y, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy # Scratchpads bind = SUPER, V, exec, pypr toggle volume -bind = SUPER, 51, exec, pypr toggle terminal && hyprctl dispatch bringactivetotop # Backslash -bind = SUPER, B, exec, pypr toggle btop && hyprctl dispatch bringactivetotop -bind = SUPERSHIFT, I, exec, pypr toggle gpt && hyprctl dispatch bringactivetotop -bind = SUPERSHIFT, B, exec, pypr toggle bluetooth && hyprctl dispatch bringactivetotop -bind = SUPER, E, exec, pypr toggle yazi && hyprctl dispatch bringactivetotop -bind = SUPER, D, exec, pypr toggle dots && hyprctl dispatch bringactivetotop -bind = SUPERSHIFT, C, exec, pypr toggle cava && hyprctl dispatch bringactivetotop -bind = SUPER, U, exec, pypr toggle topgrade-system && hyprctl dispatch bringactivetotop -bind = SUPERSHIFT, U, exec, pypr toggle topgrade-all && hyprctl dispatch bringactivetotop +bind = SUPER, 51, exec, pypr toggle terminal # Backslash +bind = SUPER, B, exec, pypr toggle btop +bind = SUPERSHIFT, I, exec, pypr toggle gpt +bind = SUPERSHIFT, B, exec, pypr toggle bluetooth +bind = SUPER, E, exec, pypr toggle yazi +bind = SUPER, D, exec, pypr toggle dots +bind = SUPERSHIFT, C, exec, pypr toggle cava +bind = SUPER, U, exec, pypr toggle topgrade-system +bind = SUPERSHIFT, U, exec, pypr toggle topgrade-all -# Screenshotting -$hyprshot = ~/.config/hypr/scripts/hyprshot -bind = SHIFT, INSERT, exec, $hyprshot -m output -o ~/Imagenes/Capturas/PC -f captura-$(date +'%Y-%m-%d-%s').png -bind = SUPERSHIFT, INSERT, exec, $hyprshot -m window -o ~/Imagenes/Capturas/PC -f captura-$(date +'%Y-%m-%d-%s').png -bind = CTRL, INSERT, exec, $hyprshot -m region -o ~/Imagenes/Capturas/PC -f captura-$(date +'%Y-%m-%d-%s').png +# Screenshot stuff +$hyprshot = ~/.config/hypr/scripts/hyprshot -o ~/Imagenes/Capturas/PC -f captura-$(date +'%Y-%m-%d-%s').png +bind = SHIFT, INSERT, exec, $hyprshot -m output +bind = SUPERSHIFT, INSERT, exec, $hyprshot -m window +bind = CTRL, INSERT, exec, $hyprshot -m region bind = ALT, INSERT, exec, ~/.config/hypr/scripts/rofi/screenshots_selection # Logout menu