From c378c2f075845f6a8110be37ca7fbb7fc98721c7 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 29 Jan 2026 23:06:41 -0600 Subject: feat(hyprland): add pyprland for scratchpads, magnify, and window stashing Replace native special workspace scratchpads with pyprland to fix issue where new windows were captured by visible scratchpads. Add magnify on mod+Z and window stash scripts (mod+O to stash, mod+Alt+O stash others, mod+Shift+O restore). --- dotfiles/hyprland/.config/hypr/pyprland.toml | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dotfiles/hyprland/.config/hypr/pyprland.toml (limited to 'dotfiles/hyprland/.config/hypr/pyprland.toml') diff --git a/dotfiles/hyprland/.config/hypr/pyprland.toml b/dotfiles/hyprland/.config/hypr/pyprland.toml new file mode 100644 index 0000000..f946a74 --- /dev/null +++ b/dotfiles/hyprland/.config/hypr/pyprland.toml @@ -0,0 +1,48 @@ +# Pyprland Configuration +# https://hyprland-community.github.io/pyprland/ + +[pyprland] +plugins = [ + "scratchpads", + "magnify", +] + +# ============================================================================ +# Magnify +# ============================================================================ +[magnify] +factor = 2 + +# ============================================================================ +# Scratchpads +# ============================================================================ +# Scratchpads use normal workspaces by default (not special workspaces), +# which prevents newly launched apps from being captured by the scratchpad. + +[scratchpads.term] +command = "foot --app-id foot-term tmux" +class = "foot-term" +size = "60% 60%" +position = "20% 20%" +animation = "fromBottom" + +[scratchpads.audio] +command = "foot --app-id foot-audio pulsemixer" +class = "foot-audio" +size = "60% 60%" +position = "20% 20%" +animation = "fromBottom" + +[scratchpads.monitor] +command = "foot --app-id foot-monitor monitor-dashboard" +class = "foot-monitor" +size = "60% 60%" +position = "20% 20%" +animation = "fromBottom" + +[scratchpads.music] +command = "foot --app-id foot-music ncmpcpp" +class = "foot-music" +size = "60% 60%" +position = "20% 20%" +animation = "fromBottom" -- cgit v1.2.3