From bcec98812551d0d741d83a92d7611e194a72e42c Mon Sep 17 00:00:00 2001 From: Emmet Date: Tue, 3 Dec 2024 14:53:35 -0600 Subject: [PATCH] Start scratchpads automatically --- user/wm/hyprland/hyprland.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 8f64488e..8474937e 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -202,6 +202,14 @@ in bind=SUPERSHIFT,8,movetoworkspace,8 bind=SUPERSHIFT,9,movetoworkspace,9 + exec-once = alacritty --class scratch_term + exec-once = kitty --class scratch_ranger -e ranger + exec-once = alacritty --class scratch_numbat -e numbat + exec-once = lollypop + exec-once = alacritty --class scratch_btm -e btm + exec-once = element-desktop + exec-once = pavucontrol + bind=SUPER,Z,exec,if hyprctl clients | grep scratch_term; then echo "scratch_term respawn not needed"; else alacritty --class scratch_term; fi bind=SUPER,Z,togglespecialworkspace,scratch_term bind=SUPER,F,exec,if hyprctl clients | grep scratch_ranger; then echo "scratch_ranger respawn not needed"; else kitty --class scratch_ranger -e ranger; fi