From 31a03ba3ea9545737543efb5d03e020aa793ef5c Mon Sep 17 00:00:00 2001 From: steven-na Date: Thu, 30 Apr 2026 12:53:59 -0700 Subject: spotify workspace and vim bottom scrolloff --- arch/hyprland/.config/hypr/keybinds.conf | 9 +++++---- arch/hyprland/.config/hypr/windowrules.conf | 12 ++++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'arch/hyprland/.config') 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 -- cgit v1.2.3