feat(hyprland): Add windowrules and disable blur

This commit is contained in:
histalek 2024-04-05 16:31:36 +02:00
parent 739b47e037
commit 43b3312158
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE
2 changed files with 32 additions and 28 deletions

View file

@ -11,8 +11,8 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = nm-applet --indicator
exec-once = dbus-update-activation-environment --all --systemd
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Source window rules
source = ~/.config/hypr/windowRules.conf
# Some default env vars.
# env = HYPRCURSOR_THEME,Wii Pointer Player 1
@ -65,19 +65,11 @@ general {
decoration {
rounding = 10
blur {
enabled = true
size = 3
passes = 1
new_optimizations = true
xray = true
}
drop_shadow = false
# shadow_range = 4
# shadow_render_power = 3
# col.shadow = rgba(1a1a1aee)
blur {
enabled = false
}
}
animations {
@ -85,7 +77,6 @@ animations {
first_launch_animation = true
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
@ -98,14 +89,9 @@ animations {
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
# preserve_split = true # you probably want this # do i?
preserve_split = true # you probably want this # do i?
force_split = 2 # always split to right or bottom
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = off
smart_resizing = false
}
misc {
@ -118,12 +104,6 @@ misc {
mouse_move_focuses_monitor = false
}
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more

View file

@ -0,0 +1,24 @@
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# Make xwayland windows have a pink border
windowrulev2 = bordercolor rgba(f52891cc),xwayland:1
# floating windows
windowrulev2 = float,class:(org.keepassxc.KeePassXC)
# Move window to specific workspace
windowrulev2 = workspace 1,class:(virt-manager)
windowrulev2 = workspace 11,class:(^thunderbird$)
windowrulev2 = workspace 12,class:(^TeamSpeak 3$)
windowrulev2 = workspace 13,class:(^Signal$)
windowrulev2 = workspace 15,class:(^betterbird$)
windowrulev2 = workspace 16,class:(^cinny$)
windowrulev2 = workspace 16,class:(^Element$)
windowrulev2 = workspace 17,class:(^discord$)
windowrulev2 = workspace 17,class:(^com.discordapp.Discord$)
windowrulev2 = workspace 18,class:(^org.gnome.Calendar$)
windowrulev2 = workspace 21,class:(^steam)
windowrulev2 = workspace 22,class:(^steam_app_)
windowrulev2 = workspace 22,class:(^looking-glass-client$)
windowrulev2 = workspace 22,title:(Default - Wine desktop)