Merge branch 'main' of tangled.sh:ocbwoy3.dev/nix

This commit is contained in:
2025-11-24 15:26:20 +02:00
2 changed files with 148 additions and 78 deletions

View File

@@ -1,28 +1,38 @@
# Monitor ( https://wiki.hyprland.org/Configuring/Monitors ) #############################################
# MONITORS
#############################################
monitor=,1920x1080@240,auto,1 monitor=,1920x1080@240,auto,1
# monitor=Unknown-1,disabled # monitor=Unknown-1,disabled
# General Configuration
general { #############################################
# GENERAL
#############################################
general {
gaps_in = 5 gaps_in = 5
gaps_out = 20 gaps_out = 20
border_size = 2 border_size = 2
col.active_border = rgb(89b4fa) 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) col.inactive_border = rgb(585b70)
resize_on_border = false
resize_on_border = false
allow_tearing = true allow_tearing = true
layout = dwindle layout = dwindle
} }
# Window Decorations
#############################################
# DECORATION
#############################################
decoration { decoration {
rounding = 12 rounding = 12
# Change transparency of focused and unfocused windows
active_opacity = 1.0 active_opacity = 1.0
inactive_opacity = 1 inactive_opacity = 1.0
fullscreen_opacity = 1.0 fullscreen_opacity = 1.0
shadow { shadow {
@@ -40,67 +50,110 @@ decoration {
size = 3 size = 3
passes = 1 passes = 1
xray = false xray = false
vibrancy = 0.1696 vibrancy = 0.1696
} }
} }
# Animations
#############################################
# ANIMATIONS
#############################################
animations { animations {
enabled = true enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = main, 0.445, 0.05, 0.55, 0.95 bezier = main, 0.445, 0.05, 0.55, 0.95
bezier = monitorBez, 0, 1, 1, 1 bezier = monitorBez, 0, 1, 1, 1
animation = windows, 1, 7, myBezier animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default animation = windowsOut, 1, 7, default
animation = border, 1, 10, default animation = border, 1, 10, default
animation = borderangle, 1, 8, default animation = borderangle, 1, 8, default
animation = fade, 1, 7, default animation = fade, 1, 7, default
animation = workspaces, 1, 6, default, slide animation = workspaces, 1, 6, default, slide
animation = specialWorkspace, 1, 6, myBezier, slide animation = specialWorkspace, 1, 6, myBezier, slide
animation = monitorAdded, 1, 30, monitorBez
# animation = specialWorkspaceIn, 1, 6, myBezier, slidevert bottom
# animation = specialWorkspaceOut, 1, 6, myBezier, slidevert top
animation = monitorAdded, 1, 30, monitorBez
} }
#############################################
# RENDER
#############################################
render { render {
# new_render_scheduling = true # new_render_scheduling = true
} }
#############################################
# CURSOR
#############################################
cursor { cursor {
use_cpu_buffer = 2 use_cpu_buffer = 2
enable_hyprcursor = true enable_hyprcursor = true
invisible = false 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 # WINDOW RULES (TAGGING)
windowrule = tag +music, class:spotify #############################################
# windowrule = opacity 0.7, tag:music windowrule {
name = games
windowrulev2 = renderunfocused, tag:music match:class = org.vinegarhq.Sober|com.mojang.minecraft.java-edition|deltarune.exe|steam_app_1671210
windowrulev2 = renderunfocused, tag:game 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
} }
# Misc Config windowrule {
misc { 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 force_default_wallpaper = 2
disable_hyprland_logo = false disable_hyprland_logo = false
initial_workspace_tracking = 0 initial_workspace_tracking = 0
@@ -111,47 +164,65 @@ misc {
allow_session_lock_restore = 1 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 {
layerrule = animation popin 70%, wofi name = waybar
layerrule = animation slide right, notifications match:namespace = waybar
layerrule = dimaround, wofi animation = slide top
above_lock = 2
order = -20
}
layerrule = order -999, wl_shimeji layerrule {
layerrule = order -10, wofi name = notifications
layerrule = order -20, waybar match:namespace = notifications
layerrule = order -25, gtk-layer-shell animation = slide right
layerrule = blur, swww-daemon above_lock = 2
}
# Window Rules layerrule {
windowrulev2 = float,class:^(blueman-manager-wrapped)$ name = wofi
windowrulev2 = size 900 500,class:^(blueman-manager-wrapped)$ match:namespace = wofi
windowrulev2 = center,class:^(blueman-manager-wrapped)$ animation = popin 70%
dim_around = on
order = -10
}
windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$ layerrule {
windowrulev2 = size 900 500,class:^(org.pulseaudio.pavucontrol)$ name = shimeji
windowrulev2 = center,class:^(org.pulseaudio.pavucontrol)$ match:namespace = wl_shimeji
order = -9999
above_lock = 2
}
windowrulev2 = float,class:^(nm-connection-editor)$ layerrule {
windowrulev2 = size 900 500,class:^(nm-connection-editor)$ name = gtk layer shell
windowrulev2 = center,class:^(nm-connection-editor)$ 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 windowrule {
windowrulev2 = float,class:io.Astal.ocbwoy3-settings name = blueman music internet
windowrulev2 = size 900 500,class:io.Astal.ocbwoy3-settings match:class = blueman-manager|blueman-manager-wrapped|org.pulseaudio.pavucontrol|nm-connection-editor|nm-connection-editor-wrapped
windowrulev2 = center,class:io.Astal.ocbwoy3-settings float = true
size = 900 500
center = true
}
#############################################
# OTHER
#############################################
windowrule = match:class steam_proton|org.vinegarhq.Sober, allows_input on
# windowrulev2 = immediate, class:^(sober)$ # windowrulev2 = immediate, class:^(sober)$
# windowrulev2 = fullscreen,title:^(Sober)$ # windowrulev2 = fullscreen,title:^(Sober)$

View File

@@ -5,15 +5,14 @@ general {
disable_loading_bar = false disable_loading_bar = false
hide_cursor = false hide_cursor = false
ignore_empty_input = true ignore_empty_input = true
immediate_render = true immediate_render = false
text_trim = true text_trim = true
} }
#BACKGROUND #BACKGROUND
background { background {
monitor = monitor =
path = ~/Pictures/Wallpapers/wall_anime2_4k.png path = ~/Pictures/Wallpapers/kris_ralsei_kissing.png # definetly not a picture of kris and ralsei kissing!!
blur_passes = 1
} }
input-field { input-field {
@@ -32,9 +31,9 @@ input-field {
placeholder_text = Session locked, enter password to unlock! placeholder_text = Session locked, enter password to unlock!
hide_input = false hide_input = false
fail_text = Password hint: Favorite Character - Deltarune, not Regretevator! fail_text = Password hint: Favorite Character - Deltarune, not Regretevator!
position = 0, -470 position = 0, -30
halign = center halign = center
valign = center valign = top
zindex = 10 zindex = 10
} }