feat: apply window rules for hyprland

also add autostart for 1password, discord, firefox and terminal
This commit is contained in:
2024-12-15 06:34:01 +05:00
parent 7e8004ebdd
commit 21a8762b1e

View File

@@ -37,8 +37,7 @@ $menu = wofi --show drun
# 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 = $terminal & firefox & discord & 1password
exec-once = waybar & swaync & hypridle
exec-once = systemctl --user start hyprpolkitagent
@@ -139,10 +138,10 @@ animations {
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
windowrulev2 = workspace 1, class:^(alacritty)$
windowrulev2 = workspace 2, class:^(firefox)$
windowrulev2 = workspace 3, class:^(discord)$
windowrulev2 = workspace 9, class:^(1Password)$
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {