hypr: cleanup config file

This commit is contained in:
Nico 2025-05-03 16:15:59 +10:00
parent 67b28f356f
commit 9349a61dd2

View file

@ -13,9 +13,6 @@ monitor=eDP-1,1920x1080@60,auto,1
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = swww-daemon &
exec-once = waybar &
exec-once = swaync &
@ -30,18 +27,14 @@ exec-once = steam -silent &
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
#####################
### LOOK AND FEEL ###
#####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 5
gaps_out = 10
@ -61,13 +54,6 @@ general {
layout = dwindle
}
misc {
enable_swallow =true
swallow_regex = ^(kitty)$
disable_hyprland_logo = true
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 10
@ -94,10 +80,8 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
enabled = true
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
@ -124,6 +108,10 @@ misc {
# force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
# disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
disable_splash_rendering = true
disable_hyprland_logo = true # makes swww startup more seemless
enable_swallow = true
swallow_regex = ^(kitty)$
}
@ -238,6 +226,7 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
input:kb_options = caps:super
##############################
### WINDOWS AND WORKSPACES ###
##############################
@ -245,11 +234,8 @@ input:kb_options = caps:super
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule v1
# windowrule = float, ^(kitty)$
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
windowrulev2 = noborder,initialClass:ulauncher
windowrulev2 = noblur,initialClass:ulauncher
windowrulev2 = noshadow,initialClass:ulauncher
@ -259,8 +245,6 @@ windowrulev2 = float,initialTitle:(^KeePassXC - Browser Access Request$)
windowrulev2 = noanim,initialTitle:(^flameshot$)
windowrulev2 = float,initialTitle:(^flameshot$)
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = float, initialTitle:(^Picture-in-Picture$), initialClass:(^firefox$)
windowrulev2 = pin, initialTitle:(^Picture-in-Picture$), initialClass:(^firefox$)
windowrulev2 = noinitialfocus, initialTitle:(^Picture-in-Picture$), initialClass:(^firefox$)