mirror of
https://github.com/eliasrenman/dotfiles.git
synced 2026-03-16 20:46:08 +01:00
145 lines
3.5 KiB
Plaintext
145 lines
3.5 KiB
Plaintext
|
|
#
|
|
# General settings
|
|
#
|
|
general {
|
|
gaps_in=10
|
|
gaps_out=0
|
|
border_size=2
|
|
col.inactive_border=rgba(f7768eff) rgba(bb9af7ff) 45deg
|
|
col.active_border=rgba(bb9af7ff) rgba(f7768eff) 45deg
|
|
no_border_on_floating = false
|
|
layout = dwindle
|
|
}
|
|
|
|
|
|
# unscale XWayland
|
|
xwayland {
|
|
force_zero_scaling = true
|
|
}
|
|
|
|
# toolkit-specific scale
|
|
env = GDK_SCALE,2
|
|
env = XCURSOR_SIZE,32
|
|
|
|
misc {
|
|
disable_hyprland_logo = true
|
|
disable_splash_rendering = true
|
|
mouse_move_enables_dpms = true
|
|
enable_swallow = true
|
|
swallow_regex = ^(alacritty)$
|
|
}
|
|
|
|
decoration {
|
|
#
|
|
# Round corners
|
|
#
|
|
rounding = 3
|
|
|
|
#
|
|
# Opacity
|
|
#
|
|
active_opacity = 0.98
|
|
inactive_opacity = 0.65
|
|
|
|
#
|
|
# Blur
|
|
#
|
|
blur {
|
|
enabled = true
|
|
size = 2
|
|
passes = 2
|
|
}
|
|
|
|
#
|
|
# Shadow
|
|
#
|
|
shadow {
|
|
enabled = true
|
|
ignore_window = true
|
|
offset = 2 2
|
|
range = 8
|
|
render_power = 10
|
|
color = rgba(00000055)
|
|
}
|
|
}
|
|
|
|
# Layer rules (replaces deprecated blurls)
|
|
layerrule = blur, gtk-layer-shell
|
|
layerrule = blur, lockscreen
|
|
|
|
#
|
|
# Animation
|
|
#
|
|
animations {
|
|
enabled = true
|
|
#
|
|
# Bezier curve
|
|
#
|
|
bezier = overshot, 0.05, 0.5, 0.1, 1.05
|
|
bezier = smoothOut, 0.36, 0, 0.66, -0.56
|
|
bezier = smoothIn, 0.25, 0.8, 0.5, 0.5
|
|
|
|
animation = windows, 1, 5, overshot, slide
|
|
animation = windowsOut, 1, 4, smoothOut, slide
|
|
animation = windowsMove, 1, 4, default
|
|
animation = border, 1, 10, default
|
|
animation = fade, 1, 2, smoothIn
|
|
animation = fadeDim, 1, 2, smoothIn
|
|
animation = workspaces, 1, 6, default
|
|
|
|
}
|
|
|
|
#
|
|
# Layouts
|
|
#
|
|
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
|
|
}
|
|
|
|
#
|
|
# Window rules
|
|
#
|
|
windowrulev2 = float, class:^(file_progress)$
|
|
windowrulev2 = float, class:^(confirm)$
|
|
windowrulev2 = float, class:^(dialog)$
|
|
windowrulev2 = float, class:^(download)$
|
|
windowrulev2 = float, class:^(notification)$
|
|
windowrulev2 = float, class:^(error)$
|
|
windowrulev2 = float, class:^(splash)$
|
|
windowrulev2 = float, class:^(confirmreset)$
|
|
windowrulev2 = float, title:^(Open File)$
|
|
windowrulev2 = float, title:^(branchdialog)$
|
|
windowrulev2 = float, class:^(Lxappearance)$
|
|
windowrulev2 = float, class:^(wofi)$
|
|
windowrulev2 = float, class:^(viewnior)$
|
|
windowrulev2 = tile, title:^(.*)(Godot)(.*)$
|
|
windowrulev2 = fullscreen, class:^(wlogout)$
|
|
windowrulev2 = float, title:^(wlogout)$
|
|
windowrulev2 = fullscreen, title:^(wlogout)$
|
|
windowrulev2 = idleinhibit focus, class:^(mpv)$
|
|
windowrulev2 = idleinhibit fullscreen, class:^(firefox)$
|
|
windowrulev2 = float, title:^(Media viewer)$
|
|
windowrulev2 = float, title:^(Volume Control)$
|
|
windowrulev2 = float, title:^(Picture-in-Picture)$
|
|
windowrulev2 = size 800 600, title:^(Volume Control)$
|
|
windowrulev2 = move 39% 420, title:^(Volume Control)$
|
|
windowrulev2 = tile, title:^(.*)Aseprite(.*)$
|
|
|
|
windowrulev2 = workspace 1, class:^(alacritty)$
|
|
windowrulev2 = workspace 2, class:^(firefox)$
|
|
windowrulev2 = workspace 3, class:^(discord)$
|
|
windowrulev2 = workspace 3, title:^(Spotify)(.*)$
|
|
windowrulev2 = workspace 3, class:^(Slack)$
|
|
windowrulev2 = workspace special, class:^(thunar)$
|
|
windowrulev2 = workspace special, class:^(YouTube Music)$
|
|
|
|
# Screen share settings
|
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
|
windowrulev2 = opacity 1 override,class:^(dev.warp.Warp)$
|