From 555c8868d34166d1bb3c0195b2b2170c88176496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 7 Apr 2024 13:56:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(hypr):=20new=20scratchpads:=20?= =?UTF-8?q?topgrade=20for=20pacman=20and=20for=20all=20the=20system?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/configs/binds.conf | 3 ++- .config/hypr/pyprland.toml | 10 +++++++++- .config/waybar/config.jsonc | 6 +++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.config/hypr/configs/binds.conf b/.config/hypr/configs/binds.conf index 7bb2c5d7..17e82bc9 100644 --- a/.config/hypr/configs/binds.conf +++ b/.config/hypr/configs/binds.conf @@ -39,7 +39,8 @@ 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 # Screenshotting $hyprshot = ~/.config/hypr/scripts/hyprshot diff --git a/.config/hypr/pyprland.toml b/.config/hypr/pyprland.toml index b9c38c55..a029d173 100644 --- a/.config/hypr/pyprland.toml +++ b/.config/hypr/pyprland.toml @@ -10,7 +10,7 @@ force_monitor = "DP-1" [scratchpads.terminal] command = "kitty --class scratchpad-large" -excludes = ["dots"] +excludes = ["dots", "yazi", "topgrade-system", "topgrade-all"] lazy = true [scratchpads.yazi] @@ -34,6 +34,14 @@ lazy = true command = "kitty --class scratchpad-mini cava" lazy = true +[scratchpads.topgrade-system] +command = "kitty --class scratchpad-large topgrade -k --only system" +lazy = true + +[scratchpads.topgrade-all] +command = "kitty --class scratchpad-large topgrade -k --no-self-update" +lazy = true + [scratchpads.bluetooth] command = "blueman-manager" animation = "fromRight" diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 6f410e05..5598d959 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -44,8 +44,8 @@ }, "exec-if": "which waybar-module-pacman-updates", "exec": "waybar-module-pacman-updates", - "on-click": "kitty --class center-float-large topgrade -k --only system", - "on-click-right": "kitty --class center-float-large topgrade -k --no-self-update" + "on-click": "pypr toggle topgrade-system", + "on-click-right": "pypr toggle topgrade-all" }, "custom/arch": { "format": "  ", @@ -186,7 +186,7 @@ "source": "auto", "stereo": true, "waves": false, - "on-click": "kitty --class center-float-mini cava", + "on-click": "pypr toggle cava", "on-click-right": "qpwgraph", "on-click-middle": "easyeffects" },