00: cleanup config

This commit is contained in:
2026-02-07 09:40:24 -06:00
parent ddbfe8919d
commit 0bae345352
12 changed files with 197 additions and 695 deletions
+77 -121
View File
@@ -4,42 +4,36 @@ source = ~/.config/hypr/colorscheme.conf
# monitors
# Main
monitorv2 {
output = DP-1
output = DP-3
disabled = no
# 3440x1440@160
# mode = 3440x1440@160
# 3440x1440@155
# mode = modeline 1177.50 3440 3744 4128 4816 1440 1443 1453 1578 -hsync +vsync
# 3440x1440@120
mode = modeline 889.75 3440 3736 4120 4800 1440 1443 1453 1545 -hsync +vsync
# position = 0x0 # single
mode = 3440x1440@144
position = 1920x0 # dual
vrr = true
bitdepth = 10
cm = auto
#sdr_min_luminance = 0.005
#sdr_max_luminance = 250 #
#supports_wide_color = true
#supports_hdr = true
#sdrbrightness = 1.1
#sdrsaturation = 1.1
bitdepth = 8
cm = srgb
sdr_min_luminance = 0.005
sdr_max_luminance = 400 #
supports_wide_color = true
supports_hdr = true
sdrbrightness = 1.1
sdrsaturation = 1.1
}
# Side
monitorv2 {
output = HDMI-A-4
output = HDMI-A-1
disabled = no
mode = 3840x2160@60 # alt: disabled
transform = 0
scale = 2
position = 0x0
vrr = true
vrr = false
bitdepth = 10
cm = auto
#sdr_min_luminance = 0.005
#sdr_max_luminance = 150 #
#sdrbrightness = 1.0
#sdrsaturation = 1.0
cm = srgb
sdr_min_luminance = 0.005
sdr_max_luminance = 150 #
sdrbrightness = 1.0
sdrsaturation = 1.0
}
# < End Section >
@@ -53,8 +47,8 @@ env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = MOZ_ENABLE_WAYLAND,1
env = HYPRCURSOR_THEME, rose-pine-hyprcursor
env = HYPRCURSOR_SIZE, 24
env = HYPRCURSOR_THEME, volantes
env = HYPRCURSOR_SIZE, 30
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
@@ -79,7 +73,7 @@ exec-once = /usr/lib/polkit-kde-authentication-agent-1 # authentication dialogue
exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = sleep 1 && hyprpm reload
#exec-once = wayvnc --output=DP-1 0.0.0.0
#exec-once = wayvnc --output=DP-3 0.0.0.0
# xrandr settings
exec-once = ~/.config/hypr/scripts/xrandr.sh
@@ -118,17 +112,17 @@ exec-once = hyprlock
# workspace rules
# smart gaps
workspace = w[tv1], gapsout:0 650 0 650, gapsin:0
workspace = w[tv1]5, gapsout:0 0 0 0, gapsin:0
workspace = w[tv1], gapsout:25 725 25 725, gapsin:0
workspace = w[tv1] r[4-5], gapsout:0 0 0 0, gapsin:0
# gaps numbers (top, right, bottom, left)
# Workspaces swapped for ease of use
workspace = 1, monitor:DP-1, persistent:true, default:true
workspace = 2, monitor:DP-1, persistent:true
workspace = 3, monitor:DP-1, persistent:true
workspace = 4, monitor:DP-1, persistent:true
workspace = 5, monitor:HDMI-A-4, persistent:true, gapsout:0
workspace = 6, monitor:DP-1, persistent:true
workspace = 1, monitor:DP-3, persistent:true, default:true
workspace = 2, monitor:DP-3, persistent:true
workspace = 3, monitor:DP-3, persistent:true
workspace = 4, monitor:DP-3, persistent:true
workspace = 5, monitor:HDMI-A-1, persistent:true, gapsout:0
workspace = 6, monitor:DP-3, persistent:true
# < End Section >
@@ -142,34 +136,35 @@ general {
gaps_in = 5
gaps_out = 20
border_size = 3
col.active_border = rgb(CCB8C8)
col.inactive_border = rgb(CCB8C8)
#col.active_border = rgb($yellow)
col.active_border = rgb($fg)
col.inactive_border = rgb($bg)
layout = dwindle
resize_on_border = false
allow_tearing = false
}
decoration {
rounding = 0
rounding = 10
rounding_power = 2
shadow {
enabled = false
range = 4
render_power = 3
color = rgba(1a1a1aee)
enabled = true
range = 32
render_power = 2
color = rgba(00000050)
}
dim_special = 0.3
fullscreen_opacity = 1.0
blur {
enabled = false
enabled = true
special = true
size = 3
passes = 1
passes = 4
new_optimizations = true
ignore_opacity = true
xray = false
xray = true
vibrancy = 0.1696
}
}
@@ -237,7 +232,7 @@ cursor {
inactive_timeout = 5
no_warps = false
persistent_warps = true
default_monitor = DP-1
default_monitor = DP-3
warp_on_change_workspace = false
}
@@ -248,10 +243,14 @@ debug {
}
render {
new_render_scheduling = false
new_render_scheduling = true
direct_scanout = true
cm_fs_passthrough = 2
cm_enabled = true
cm_sdr_eotf = 2
cm_auto_hdr = 2
send_content_type = true
non_shader_cm = 3
}
# < End Section >
@@ -284,20 +283,7 @@ dwindle {
# < Start Section >
# plugins
plugin {
hyprbars {
enable = true
bar_height = 25
bar_color = rgb(05027D)
bar_text_align = left
bar_part_of_window = true
bar_precedence_over_border = true
hyprbars-button = rgb(CCB8C8), 18, X, hyprctl dispatch killactive
hyprbars-button = rgb(CCB8C8), 18, , hyprctl dispatch fullscreen 1
hyprbars-button = rgb(CCB8C8), 18, ,
bar_padding = 15
}
}
# < End Section >
@@ -309,9 +295,9 @@ plugin {
windowrule {
name = globals
match:class = ^(.*)$
suppress_event = maximize
suppress_event = maximize fullscreen
render_unfocused = true
opacity = 1.00 1.00
opacity = 0.75 0.75
pseudo = false
}
@@ -319,7 +305,7 @@ windowrule = match:class ^(qt5ct)$, float true
windowrule = match:class ^(nwg-look)$, float true
windowrule = match:class ^(pavucontrol)$, float true
windowrule = match:class ^(org.kde.polkit-kde-authentication-agent-1)$, float true
windowrule = match:workspace 4, float true
windowrule = match:class ^(org.speedcrunch.speedcrunch)$, float true
# main
windowrule = match:class ^(discord)$, workspace 1 silent
@@ -329,68 +315,38 @@ windowrule = match:class ^(Dopamine)$, workspace 1 silent
windowrule = match:class ^(spotify)$, workspace 1 silent
windowrule = match:class ^(Alacritty)$, workspace 2 silent
windowrule = match:class ^(Alacritty)$, tile true
windowrule = match:class ^(floorp)$, workspace 2 silent
windowrule = match:class ^(floorp)$, workspace 3 silent
windowrule = match:class ^(floorp)$, tile true
windowrule = match:class ^(steam)$, workspace 4 silent
windowrule = match:class ^(org.prismlauncher.PrismLauncher)$, workspace 4 silent
windowrule = match:class ^(Minecraft.*)$, workspace 4 silent
windowrule = match:class ^(steam_app_.*)$, workspace 4 silent
windowrule = match:class ^(steam_proton)$, workspace 4 silent
windowrule = match:class ^(cstrike_linux64)$, workspace 4 silent
windowrule = match:class ^(dota2)$, workspace 4 silent
windowrule = match:class ^(gamescope)$, workspace 4 silent
windowrule = match:class ^(steam)$, workspace 6 silent
# development
windowrule = match:class ^(VirtualBox.*)$, float true
windowrule = match:title ^(SnakePlusPlus)$, float true
windowrule = match:title ^(SnakePlusPlus)$, center true
windowrule = match:title ^(SnakePlusPlus)$, opacity 0.4
windowrule = match:title ^(TetrisPlusPlus)$, center true
windowrule = match:class ^(aquamarine)$, workspace 2 silent
windowrule = match:class ^(aquamarine)$, fullscreen true
# games
# 16:9 windowed - 1920 1080
# 21:9 windowed - 2580 1080
# 32:9 windowed - 3200 900
# theoretical mix - 3200 1100
# alternative - 2660 1140
# world of warcraft classic
windowrule = match:class ^(wowclassic.exe)$, opacity 1.00 override 1.00 override
windowrule = match:class ^(wowclassic.exe)$, workspace 4 silent
# world of warcraft
windowrule = match:title ^(World of Warcraft)$, opacity 1.00 override 1.00 override
windowrule = match:title ^(World of Warcraft)$, workspace 4 silent
# Runescape
# tag games
windowrule = match:xdg_tag proton-game, tag +game
windowrule = match:title ^(Warframe)$, tag +game
windowrule = match:class ^(org.prismlauncher.PrismLauncher)$, tag +game
windowrule = match:class ^(Minecraft.*)$, tag +game
windowrule = match:class ^(steam_app_.*)$, tag +game
windowrule = match:class ^(steam_proton)$, tag +game
windowrule = match:class ^(cstrike_linux64)$, tag +game
windowrule = match:class ^(dota2)$, tag +game
windowrule = match:class ^(gamescope)$, tag +game
windowrule = match:class ^(wowclassic.exe)$, tag +game
windowrule = match:title ^(World of Warcraft)$, tag +game
windowrule = match:class ^(RuneScape)$, tag +game
windowrule = match:class ^(bolt.*)$, tag +game
windowrule = match:class ^(Minecraft.*)$, tag +game
windowrule = match:class ^(net-runelite-client-RuneLite)$, tag +game
# Runelite opacity likes to skip after login
windowrule = match:class ^(net-runelite-client-RuneLite)$, opacity 1.00 override 1.00 override
#windowrule = match:class ^(net-runelite-client-RuneLite)$, fullscreen true
#windowrule = match:class ^(net-runelite-client-RuneLite)$, workspace 5 silent
windowrule = match:class ^(RuneScape)$, opacity 1.00 override 1.00 override
#windowrule = match:class ^(bolt.*)$, workspace 5 silent
windowrule = match:class ^(bolt.*)$, tile true
# minecraft
windowrule = match:class ^(Minecraft.*)$, opacity 1.00 override 1.00 override
windowrule = match:class ^(Minecraft.*)$, workspace 4 silent
windowrule = match:class ^(Minecraft.*)$, float true
#windowrule = match:class ^(Minecraft.*)$, size 3200 1100
# native
windowrule = match:class ^(steam_app_.*)$, opacity 1.00 override 1.00 override
windowrule = match:class ^(steam_app_.*)$, float true
# proton
windowrule = match:class ^(steam_proton)$, opacity 1.00 override 1.00 override
windowrule = match:class ^(steam_proton)$, float true
# hl2 (css, etc)
windowrule = match:class ^(cstrike_linux64)$, opacity 1.00 override 1.00 override
# dota 2
windowrule = match:class ^(dota2)$, opacity 1.00 override 1.00 override
# gamescope
windowrule = match:class ^(gamescope)$, opacity 1.00 override 1.00 override
windowrule = match:class ^(gamescope)$, float true
#windowrule = match:class ^(gamescope)$, size 3200 1100
# steamtinkerlaunch
windowrule = match:class ^(yad)$, float true
windowrule = match:class ^(yad)$, size 1920 1080
windowrule {
name = games
match:tag = game
workspace = 4 silent
opacity = 1.00 override 1.00 override
float = true
no_initial_focus = true
suppress_event = maximize
}
# layer rules
layerrule = match:namespace waybar, blur true