summaryrefslogtreecommitdiff
path: root/arch/hyprland/.config
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hyprland/.config')
-rw-r--r--arch/hyprland/.config/hypr/keybinds.conf9
-rw-r--r--arch/hyprland/.config/hypr/windowrules.conf12
2 files changed, 13 insertions, 8 deletions
diff --git a/arch/hyprland/.config/hypr/keybinds.conf b/arch/hyprland/.config/hypr/keybinds.conf
index 5541010..0a9311e 100644
--- a/arch/hyprland/.config/hypr/keybinds.conf
+++ b/arch/hyprland/.config/hypr/keybinds.conf
@@ -59,14 +59,15 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
-# ── Special workspaces (scratchpads) ─────────────────────────────────────────
+# ── Special workspaces ─────────────────────────────────────────
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+bind = $mainMod, P, exec, hyprctl dispatch togglespecialworkspace spotify
# ── Screenshots ───────────────────────────────────────────────────────────────
-bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
-bind = $mainMod, Print, exec, grim - | wl-copy
-bind = $mainMod SHIFT, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy
+bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
+bind = $mainMod, Print, exec, grim - | wl-copy
+bind = $mainMod SHIFT, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy
# ── Resize submap ─────────────────────────────────────────────────────────────
bind = $mainMod CTRL, R, submap, resize
diff --git a/arch/hyprland/.config/hypr/windowrules.conf b/arch/hyprland/.config/hypr/windowrules.conf
index dc04c62..3408cbf 100644
--- a/arch/hyprland/.config/hypr/windowrules.conf
+++ b/arch/hyprland/.config/hypr/windowrules.conf
@@ -1,13 +1,17 @@
-# ── Spotify transparency ──────────────────────────────────────────────────────
-# Barely-noticeable opacity lets Hyprland's compositor blur show wallpaper
-# bleed-through behind the CSS rgba panels in the spicetify theme.
+# ── Spotify ──────────────────────────────────────────────────────
windowrule {
name = spotify-transparency
match:class = Spotify
opacity = 0.90 override
}
-# ── Floating terminal (Super+Q with float-term class) ─────────────────────────
+windowrule {
+ name = spotify-special
+ match:class = Spotify
+ workspace = special:spotify silent
+}
+
+# ── Floating terminal ─────────────────────────
windowrule {
name = float-term
match:class = float-term