hyprland: update display config for -git

This commit is contained in:
2025-11-23 15:37:29 +02:00
parent 08524bddd0
commit 985dd5e133

View File

@@ -1,28 +1,38 @@
# Monitor ( https://wiki.hyprland.org/Configuring/Monitors )
#############################################
# MONITORS
#############################################
monitor=,1920x1080@240,auto,1
# monitor=Unknown-1,disabled
# General Configuration
#############################################
# GENERAL
#############################################
general {
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgb(89b4fa)
# rgba(088f72ee) rgba(2ccfabee) rgba(088f72ee) rgba(ffffffee) rgba(7bade2ee) rgba(5049ccee) rgba(3e1a78ee) 90deg
col.inactive_border = rgb(585b70)
resize_on_border = false
allow_tearing = true
layout = dwindle
}
# Window Decorations
#############################################
# DECORATION
#############################################
decoration {
rounding = 12
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1
inactive_opacity = 1.0
fullscreen_opacity = 1.0
shadow {
@@ -40,12 +50,15 @@ decoration {
size = 3
passes = 1
xray = false
vibrancy = 0.1696
}
}
# Animations
#############################################
# ANIMATIONS
#############################################
animations {
enabled = true
@@ -59,47 +72,87 @@ animations {
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default, slide
animation = specialWorkspace, 1, 6, myBezier, slide
# animation = specialWorkspaceIn, 1, 6, myBezier, slidevert bottom
# animation = specialWorkspaceOut, 1, 6, myBezier, slidevert top
animation = monitorAdded, 1, 30, monitorBez
}
#############################################
# RENDER
#############################################
render {
# new_render_scheduling = true
}
#############################################
# CURSOR
#############################################
cursor {
use_cpu_buffer = 2
enable_hyprcursor = true
invisible = false
}
windowrule = tag +game, class:org.vinegarhq.Sober
windowrule = tag +game, class:com.mojang.minecraft.java-edition
windowrule = tag +discord, class:equibop
windowrule = tag +code, class:code
windowrule = tag +music, class:cider
windowrule = tag +music, class:spotify
#############################################
# WINDOW RULES (TAGGING)
#############################################
# windowrule = opacity 0.7, tag:music
windowrulev2 = renderunfocused, tag:music
windowrulev2 = renderunfocused, tag:game
windowrulev2 = renderunfocused, tag:discord
# Dwindle layout
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
windowrule {
name = games
match:class = org.vinegarhq.Sober|com.mojang.minecraft.java-edition|deltarune.exe|steam_app_1671210
tag = +game
}
# Misc Config
windowrule {
name = discord
match:class = equibop
tag = +discord
}
windowrule {
name = deltarune
match:class = deltarune.exe|steam_app_1671210
tag = +deltarune
}
windowrule {
name = code
match:class = code|windsurf
tag = +code
}
windowrule {
name = music
match:class = cider|spotify
tag = +music
}
# Tag behavior rules
windowrule {
name = render unfocused
match:tag = music|game|discord
render_unfocused = on
}
#############################################
# LAYOUTS
#############################################
dwindle {
pseudotile = true
preserve_split = true
}
#############################################
# MISC
#############################################
misc {
force_default_wallpaper = 2
disable_hyprland_logo = false
@@ -111,47 +164,65 @@ misc {
allow_session_lock_restore = 1
}
# Layer Rules
layerrule = animation slide top, waybar
layerrule = abovelock true, waybar
layerrule = abovelock true, notifications
# layerrule = noscreenshare, notifications
#############################################
# LAYER RULES
#############################################
layerrule = animation fade, selection
layerrule = animation popin 70%, wofi
layerrule = animation slide right, notifications
layerrule = dimaround, wofi
layerrule {
name = waybar
match:namespace = waybar
animation = slide top
above_lock = 2
order = -20
}
layerrule = order -999, wl_shimeji
layerrule = order -10, wofi
layerrule = order -20, waybar
layerrule = order -25, gtk-layer-shell
layerrule = blur, swww-daemon
layerrule {
name = notifications
match:namespace = notifications
animation = slide right
above_lock = 2
}
# Window Rules
windowrulev2 = float,class:^(blueman-manager-wrapped)$
windowrulev2 = size 900 500,class:^(blueman-manager-wrapped)$
windowrulev2 = center,class:^(blueman-manager-wrapped)$
layerrule {
name = wofi
match:namespace = wofi
animation = popin 70%
dim_around = on
order = -10
}
windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = size 900 500,class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = center,class:^(org.pulseaudio.pavucontrol)$
layerrule {
name = shimeji
match:namespace = wl_shimeji
order = -9999
above_lock = 2
}
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = size 900 500,class:^(nm-connection-editor)$
windowrulev2 = center,class:^(nm-connection-editor)$
layerrule {
name = gtk layer shell
match:namespace = gtk-layer-shell
order = -25
}
windowrulev2 = allowsinput,class:^(steam_proton)$
windowrulev2 = renderunfocused, class:^(equibop)$
windowrulev2 = renderunfocused, class:^(discord)$
#############################################
# FLOATING UTILITY WINDOWS
#############################################
# dotfille settings
windowrulev2 = float,class:io.Astal.ocbwoy3-settings
windowrulev2 = size 900 500,class:io.Astal.ocbwoy3-settings
windowrulev2 = center,class:io.Astal.ocbwoy3-settings
windowrule {
name = blueman music internet
match:class = blueman-manager|blueman-manager-wrapped|org.pulseaudio.pavucontrol|nm-connection-editor|nm-connection-editor-wrapped
float = true
size = 900 500
center = true
}
#############################################
# OTHER
#############################################
windowrule = match:class steam_proton|org.vinegarhq.Sober, allows_input on
# windowrulev2 = immediate, class:^(sober)$
# windowrulev2 = fullscreen,title:^(Sober)$