From c68cf0c26be1d890c07817ce89f8f0c2dc90b8df Mon Sep 17 00:00:00 2001 From: voidarc Date: Sun, 1 Mar 2026 13:15:21 +0000 Subject: [PATCH] added music player shortcut and removed some useless keybinds --- .config/hypr/binds.conf | 17 +++++------------ .config/hypr/rules.conf | 8 ++++++++ .config/hypr/style.conf | 11 ++++------- .config/nvim | 2 +- .config/otter-launcher/config.toml | 4 +--- 5 files changed, 19 insertions(+), 23 deletions(-) diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf index 1b568a9a..83c793ea 100644 --- a/.config/hypr/binds.conf +++ b/.config/hypr/binds.conf @@ -39,21 +39,14 @@ bind = $mainMod, j, movefocus, d bind = $mainMod, MINUS, togglespecialworkspace, scratch bind = $mainMod SHIFT, MINUS, movetoworkspacesilent, special:scratch +# Music workspace bind = $mainMod, m, togglespecialworkspace, music # Resize floating windows with keyboard -bind = $submod, left, resizeactive, -50 0 -bind = $submod, right, resizeactive, 50 0 -bind = $submod, down, resizeactive, 0 50 -bind = $submod, up, resizeactive, 0 -50 -bind = $submod SHIFT, left, moveactive, -50 0 -bind = $submod SHIFT, right, moveactive, 50 0 -bind = $submod SHIFT, down, moveactive, 0 50 -bind = $submod SHIFT, up, moveactive, 0 -50 -bind = $submod+ctrl , left, moveactive, -150 0 -bind = $submod+ctrl , right, moveactive, 150 0 -bind = $submod+ctrl , down, moveactive, 0 150 -bind = $submod+ctrl , up, moveactive, 0 -150 +bind = $submod ctrl, h, resizeactive, -50 0 +bind = $submod ctrl, l, resizeactive, 50 0 +bind = $submod ctrl, k, resizeactive, 0 50 +bind = $submod ctrl, j, resizeactive, 0 -50 # Change window positions with keyboard bind = $mainMod SHIFT, H, swapwindow, l diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index 4c5839ed..7a0de774 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -95,6 +95,12 @@ windowrule { match:class = ^(otter)$ } +windowrule { + name = jellyfin tui + animation = slide top + match:class = ^(jf-tui)$ +} + windowrule { name = nodim-fullscreen match:fullscreen = 1 @@ -136,3 +142,5 @@ layerrule { ignore_alpha = 0 match:namespace = swaync-control-center } + +workspace = special:music, gapsout:5 400 400 400 diff --git a/.config/hypr/style.conf b/.config/hypr/style.conf index 0ba01b4a..1dce4815 100644 --- a/.config/hypr/style.conf +++ b/.config/hypr/style.conf @@ -19,7 +19,6 @@ misc { force_default_wallpaper = 0 } - xwayland { force_zero_scaling = false } @@ -30,8 +29,10 @@ dwindle { preserve_split = true # You probably want this permanent_direction_override = true } -scrolling { +scrolling { + column_width = 0.6 + focus_fit_method = 0 } # GTK shennanigans @@ -57,11 +58,6 @@ group { col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg } -scrolling { -column_width = 0.6 -focus_fit_method = 1 -} - decoration { rounding = 10 @@ -105,6 +101,7 @@ animations { animation = borderangle, 1, 8, my animation = fade, 1, 2, my animation = workspaces, 1, 1.7, smooth + animation = specialWorkspace, 1, 1.7, smooth, slidefadevert -50% animation = layers, 1, 2, smooth, fade animation = fadeLayers, 1, 2, smooth } diff --git a/.config/nvim b/.config/nvim index ac6d7e8b..7a05a15b 160000 --- a/.config/nvim +++ b/.config/nvim @@ -1 +1 @@ -Subproject commit ac6d7e8b07c40ff0c175716851feeb43614cd0dc +Subproject commit 7a05a15b296ec2b42b3b416fe7b65551be841d17 diff --git a/.config/otter-launcher/config.toml b/.config/otter-launcher/config.toml index 30947a21..a448bdb7 100644 --- a/.config/otter-launcher/config.toml +++ b/.config/otter-launcher/config.toml @@ -146,9 +146,7 @@ hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf) description = "run music" prefix = "jf" cmd = """ -hyprctl dispatch resizeactive 300 500 && -hyprctl dispatch centerwindow & -hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf) +hyprctl dispatch exec '[workspace special:music]' 'kitty --class jf-tui -e jellyfin-tui' """ [[modules]]