feat: autofreeze script for swww when window is selected + a toggle;

refactor: cpufreq does not save notifications anymore;
feat: 3GHz option for cpufreq;
feat: Script for controlling power profile + bind;
refactor: removed hyprpaper, replaced with swww;
refactor: no longer affecting border radius in gamemode;
fix: grayscale filter;
feat: toggle automatic wallpaper switching;
This commit is contained in:
2025-10-05 15:29:30 +03:00
parent edb6817582
commit 4e688c7c83
12 changed files with 182 additions and 66 deletions

View File

@@ -28,7 +28,9 @@ $privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
# Or execute your favorite apps at launch like this:
# Le essential hyprland crap
exec-once = hyprpaper
# exec-once = hyprpaper
exec-once = swww-daemon
exec-once = ~/.config/hypr/scripts/autofreeze_swww.sh
exec-once = waybar & hypridle & hyprsunset &
exec-once = mullvad-vpn
exec-once = swaync
@@ -128,8 +130,8 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 5
passes = 2
size = 1
passes = 4
ignore_opacity = true
new_optimizations = true
@@ -259,7 +261,9 @@ input {
# kb_variant = ,qwerty
# kb_model =
# kb_rules =
repeat_rate = 25
repeat_delay = 200
follow_mouse = 0 # 2
float_switch_override_focus = 0
@@ -279,6 +283,7 @@ input {
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
gesture = 3, horizontal, scale: 2, workspace
workspace_swipe_forever = true
}
# Example per-device config
@@ -300,6 +305,9 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod ALT, Q, exit,
bind = $mainMod SHIFT, delete, exec, shutdown now
# Menu dropdown
bind = $mainMod, P, sendshortcut, , Menu, activewindow
# Open programs
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, E, exec, $fileManager
@@ -307,7 +315,7 @@ bind = $mainMod, Q, exec, $browser
bind = $mainMod SHIFT, Q, exec, $privateBrowser
bind = $mainMod, Backslash, exec, $fastTerminal
bind = $mainMod, Space, exec, $menu
bind = $mainMod, N, exec, swaync-client -t -sw || notify-send "Error SwayNC is down"
bind = $mainMod, N, exec, swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
# Open floating terminal
bind = $mainMod SHIFT, Return, exec, [float; size 800 600; move center] $fastTerminal --class kitty-float
@@ -341,7 +349,6 @@ bind = $mainMod SHIFT, S, setfloating,
bind = $mainMod SHIFT, S, resizeactive, exact 800 600
bind = $mainMod SHIFT, S, centerwindow,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, D, togglesplit, # dwindle
# Screenshots
@@ -468,8 +475,9 @@ bind = $mainMod CTRL ALT, Right, movewindoworgroup, r
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindl = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
@@ -494,6 +502,9 @@ bind = $mainMod, B, exec, ~/.config/hypr/scripts/reserved_space.sh
# Cycle cpu frequency mode
bind = $mainMod CTRL, C, exec, ~/.config/hypr/scripts/cpufreq.sh
# Cycle power mode
bind = $mainMod CTRL, V, exec, ~/.config/hypr/scripts/power_profile.sh
# Pin window
bind = $mainMod CTRL, Y, pin, active
@@ -526,6 +537,10 @@ windowrule = bordercolor rgba(ffff00ff) rgba(ffff0055),tag:voicechatuz
# Zen - focus searchbar
bindrn = CTRL, Space, sendshortcut, , F6, class:^(zen)$
# OBS
bindrn = $mainMod CTRL, bracketleft, pass, class:^(com.obsproject.Studio)$
bindrn = $mainMod CTRL, bracketright, pass, class:^(com.obsproject.Studio)$
bind = , XF86PowerOff, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 35% & ristretto -f ~/Templates/Images/theorist.jpg & play ~/Templates/Sounds/scream.mp3
# Disable binds temporarily
@@ -553,15 +568,17 @@ windowrule = float,class:^(zenity)$
windowrule = workspace 7 silent,class:^(superProductivity)$
# Telegram
windowrule = workspace 8 silent,class:^(TelegramDesktop)$
windowrule = group override set always,class:^(TelegramDesktop)$
windowrule = workspace 8 silent,class:^(org.telegram.desktop)$
windowrule = group override set always,class:^(org.telegram.desktop)$
windowrule = group set,class:^(org.telegram.desktop)$
# Vesktop
windowrule = workspace 8 silent,class:^(vesktop)$
windowrule = group override set always,class:^(vesktop)$
# Element
windowrule = workspace 8 silent,class:^(Element)$
windowrule = group override set always,class:^(Element)$
# Nextcloud
windowrule = float,animation slide top,resize 800 600,move center,class:^(com.nextcloud.desktopclient.nextcloud)$