summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.config/hypr/pyprland.toml
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-29 23:06:41 -0600
committerCraig Jennings <c@cjennings.net>2026-01-29 23:06:41 -0600
commitc378c2f075845f6a8110be37ca7fbb7fc98721c7 (patch)
treeecad884574df40ac80f44cf9001eb201d5362110 /dotfiles/hyprland/.config/hypr/pyprland.toml
parent0da19ea3454ec54b47c31f921c5c9697c10648f9 (diff)
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).
Diffstat (limited to 'dotfiles/hyprland/.config/hypr/pyprland.toml')
-rw-r--r--dotfiles/hyprland/.config/hypr/pyprland.toml48
1 files changed, 48 insertions, 0 deletions
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"