feat(hypr): add nwg-dock autostart and MPD control submap;

feat(hypr): add window swallowing for kitty and Steam workspace rules;
feat(waybar): create minimal config for gamemode and add notification panel button;
refactor(waybar): simplify config, merge memory/swap displays, update workspace icons;
refactor(swaync): remove CPU slider and adjust button styling;
experiment(hypr): increase vibrancy and change screenshot sound;
experiment(rmpc): update progress bar symbols;
fix(rofi): add mouse support to all menu configurations;
chore(hypr): update gamemode script to toggle minimal waybar
This commit is contained in:
2025-12-21 22:00:37 +03:00
parent 114f1cde7c
commit c9795e2514
13 changed files with 321 additions and 139 deletions

View File

@@ -25,6 +25,9 @@ $privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
$notificationCenter = pkill rofi & swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
$waybar = GTK_THEME="Simply_Circles_Dark" waybar
$mpdpass = kapuchinamusica
$dock = nwg-dock-hyprland -i 25 -w 12 -hi -x -ico view_icon -c "$HOME/.config/rofi/launchers/type-1/launcher.sh"
#################
### AUTOSTART ###
#################
@@ -40,6 +43,7 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
exec-once = swww-daemon
exec-once = ~/.config/hypr/scripts/autofreeze_swww.sh
exec-once = $waybar
exec-once = $dock
exec-once = swaync
exec-once = hypridle
exec-once = hyprsunset
@@ -144,7 +148,7 @@ decoration {
ignore_opacity = true
new_optimizations = true
vibrancy = 0
vibrancy = 0.5
noise = 0
contrast = 1
}
@@ -254,6 +258,7 @@ misc {
vfr = true
animate_manual_resizes = true
enable_swallow = true
swallow_regex = ^(kitty)$
middle_click_paste = false
enable_anr_dialog = false
}
@@ -273,7 +278,7 @@ input {
repeat_rate = 25
repeat_delay = 200
follow_mouse = 0 # 2
follow_mouse = 2
float_switch_override_focus = 0
# touchpad / canyon
@@ -371,10 +376,10 @@ bind = $mainMod SHIFT, S, centerwindow,
bind = $mainMod, D, togglesplit, # dwindle
# Screenshots
bind = $mainMod SHIFT, Print, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg && play ~/Templates/Sounds/photo.mp3
bind = $mainMod, Print, exec, play ~/Templates/Sounds/photo.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
bind = $mainMod SHIFT, Print, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg && play ~/Templates/Sounds/camera_shutter1.mp3
bind = $mainMod, Print, exec, play ~/Templates/Sounds/camera_shutter1.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
bind = $mainMod SHIFT, XF86AudioNext, exec, grimblast --freeze copysave area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg && play ~/Templates/Sounds/photo.mp3
bind = $mainMod, XF86AudioNext, exec, play ~/Templates/Sounds/photo.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
bind = $mainMod, XF86AudioNext, exec, play ~/Templates/Sounds/camera_shutter1.mp3 & grimblast --freeze copysave output ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg
# Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l
@@ -446,13 +451,14 @@ bind = $mainMod SHIFT, k, swapwindow, u
# Cycle through windows with mainMod + C
bind = $mainMod, C, cyclenext
bind = $mainMod SHIFT, C, cyclenext, prev
bind = $mainMod, X, cyclenext, visible floating
bind = $mainMod, R, swapnext
bind = $mainMod SHIFT, R, swapnext, prev
# Go to previous window and back
bind = ALT, TAB, focuscurrentorlast
bind = $mainMod, I, focusurgentorlast
bind = $mainMod, I, toggleswallow
bindp = $mainMod, Tab, workspace, previous
# Resize windows in different directions via keyboard
@@ -509,7 +515,7 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
# Toggle waybar
# Toggle waybar & dock
bind = $mainMod SHIFT, B, exec, ~/.config/hypr/scripts/toggle_waybar.sh
# Toggle grayscale mode
@@ -579,6 +585,7 @@ submap = clean
bind = $mainMod, Escape, submap, reset
submap = reset
# Easymove submap
bind = $mainMod SHIFT, Space, submap, ezmv
submap = ezmv
@@ -594,6 +601,34 @@ bind = $mainMod, Tab, submap, reset
bind = $mainMod, Escape, submap, reset
submap = reset
# Activate MPD submap with $mainMod + U
bind = $mainMod, U, submap, mpd
# Define the MPD submap
submap = mpd
# MPD controls (actions that exit submap)
bind = , P, exec, mpc --password $mpdpass toggle
bind = SHIFT, H, exec, mpc --password $mpdpass prev
bind = SHIFT, L, exec, mpc --password $mpdpass next
# MPD Seek
binde = , H, exec, mpc --password $mpdpass seek "-00:00:5"
binde = , L, exec, mpc --password $mpdpass seek "+00:00:5"
# Volume controls (remain in submap for repeated adjustments)
bind = , J, exec, mpc --password $mpdpass volume -5
bind = , K, exec, mpc --password $mpdpass volume +5
# Alternative exit methods
bind = , escape, submap, reset
bind = , Return, submap, reset
bind = , Space, submap, reset
# End the submap definition
submap = reset
##############################
### WINDOWS AND WORKSPACES ###
##############################
@@ -626,6 +661,10 @@ windowrule = group override set always,class:^(vesktop)$
windowrule = workspace 8 silent,class:^(Element)$
windowrule = group override set always,class:^(Element)$
# Steam
windowrule = workspace 7 silent,class:^(steam)$
windowrule = group set,class:^(steam)$
# Screensharing protection
source = ~/.config/hypr/privacy.conf
windowrule = noscreenshare, tag:privacy
@@ -651,13 +690,13 @@ windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Animation for rofi
# rofi
layerrule = ignorezero, rofi
layerrule = dimaround, rofi
layerrule = blur, rofi
layerrule = animation slide bottom, rofi
# Animation fpr swaync
# swaync
layerrule = blur, swaync-control-center
layerrule = blur, swaync-notification-window
layerrule = abovelock, swaync-notification-window
@@ -666,10 +705,18 @@ layerrule = ignorezero, swaync-control-center
layerrule = ignorezero, swaync-notification-window
layerrule = animation slideIn right, swaync-control-center
layerrule = animation slideIn right, swaync-notification-window
# Waybar blur
# waybar
layerrule = ignorezero, waybar
layerrule = blur, waybar
layerrule = ignorealpha 0.6, waybar
layerrule = animation slide top, waybar
# nwg-dock
layerrule = ignorezero, nwg-dock
layerrule = blur, nwg-dock
layerrule = animation slide bottom, nwg-dock
# Adjustments for certain workspaces
workspace = special:magic, gapsin:20, gapsout:50, shadow:false
workspace = 9, gapsin:15, gapsout:40