added music player shortcut and removed some useless keybinds

This commit is contained in:
2026-03-01 13:15:21 +00:00
parent c6d5226340
commit c68cf0c26b
5 changed files with 19 additions and 23 deletions

View File

@@ -39,21 +39,14 @@ bind = $mainMod, j, movefocus, d
bind = $mainMod, MINUS, togglespecialworkspace, scratch bind = $mainMod, MINUS, togglespecialworkspace, scratch
bind = $mainMod SHIFT, MINUS, movetoworkspacesilent, special:scratch bind = $mainMod SHIFT, MINUS, movetoworkspacesilent, special:scratch
# Music workspace
bind = $mainMod, m, togglespecialworkspace, music bind = $mainMod, m, togglespecialworkspace, music
# Resize floating windows with keyboard # Resize floating windows with keyboard
bind = $submod, left, resizeactive, -50 0 bind = $submod ctrl, h, resizeactive, -50 0
bind = $submod, right, resizeactive, 50 0 bind = $submod ctrl, l, resizeactive, 50 0
bind = $submod, down, resizeactive, 0 50 bind = $submod ctrl, k, resizeactive, 0 50
bind = $submod, up, resizeactive, 0 -50 bind = $submod ctrl, j, 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
# Change window positions with keyboard # Change window positions with keyboard
bind = $mainMod SHIFT, H, swapwindow, l bind = $mainMod SHIFT, H, swapwindow, l

View File

@@ -95,6 +95,12 @@ windowrule {
match:class = ^(otter)$ match:class = ^(otter)$
} }
windowrule {
name = jellyfin tui
animation = slide top
match:class = ^(jf-tui)$
}
windowrule { windowrule {
name = nodim-fullscreen name = nodim-fullscreen
match:fullscreen = 1 match:fullscreen = 1
@@ -136,3 +142,5 @@ layerrule {
ignore_alpha = 0 ignore_alpha = 0
match:namespace = swaync-control-center match:namespace = swaync-control-center
} }
workspace = special:music, gapsout:5 400 400 400

View File

@@ -19,7 +19,6 @@ misc {
force_default_wallpaper = 0 force_default_wallpaper = 0
} }
xwayland { xwayland {
force_zero_scaling = false force_zero_scaling = false
} }
@@ -30,8 +29,10 @@ dwindle {
preserve_split = true # You probably want this preserve_split = true # You probably want this
permanent_direction_override = true permanent_direction_override = true
} }
scrolling {
scrolling {
column_width = 0.6
focus_fit_method = 0
} }
# GTK shennanigans # GTK shennanigans
@@ -57,11 +58,6 @@ group {
col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
} }
scrolling {
column_width = 0.6
focus_fit_method = 1
}
decoration { decoration {
rounding = 10 rounding = 10
@@ -105,6 +101,7 @@ animations {
animation = borderangle, 1, 8, my animation = borderangle, 1, 8, my
animation = fade, 1, 2, my animation = fade, 1, 2, my
animation = workspaces, 1, 1.7, smooth animation = workspaces, 1, 1.7, smooth
animation = specialWorkspace, 1, 1.7, smooth, slidefadevert -50%
animation = layers, 1, 2, smooth, fade animation = layers, 1, 2, smooth, fade
animation = fadeLayers, 1, 2, smooth animation = fadeLayers, 1, 2, smooth
} }

View File

@@ -146,9 +146,7 @@ hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf)
description = "run music" description = "run music"
prefix = "jf" prefix = "jf"
cmd = """ cmd = """
hyprctl dispatch resizeactive 300 500 && hyprctl dispatch exec '[workspace special:music]' 'kitty --class jf-tui -e jellyfin-tui'
hyprctl dispatch centerwindow &
hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf)
""" """
[[modules]] [[modules]]