Fix window rules to work as intended, open initial apps on initial workspace
Some checks failed
/ check (push) Has been cancelled

This commit is contained in:
Daniel Flanagan 2024-12-20 10:37:49 -06:00
parent 4f8aea1ef4
commit 43f35b76ce
2 changed files with 19 additions and 7 deletions

View file

@ -49,9 +49,9 @@ in {
"hyprpaper" "hyprpaper"
"mako" "mako"
"swayosd-server" "swayosd-server"
"eww daemon && eww open bar0" "eww daemon"
"firefox" "[workspace 1 silent] firefox"
"wezterm" "[workspace 1 silent] wezterm"
"xwaylandvideobridge" "xwaylandvideobridge"
"systemctl --user import-environment QT_QPA_PLATFORMTHEME" "systemctl --user import-environment QT_QPA_PLATFORMTHEME"
# "wezterm" # "wezterm"
@ -285,8 +285,9 @@ in {
## See https://wiki.hyprland.org/Configuring/Window-Rules/ for more ## See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = idleinhibit,class:^.*([Ss]lippi).*$ windowrulev2 = idleinhibit,class:^.*([Ss]lippi).*$
windowrulev2 = float,class:^.*([Kk]itty|[Ff]irefox|[Ww]ezterm|[Dd]iscord|[Ss]potify|[Ss]lack).*$ windowrulev2 = float,class:^.*$
windowrulev2 = opacity 1.0 0.9,floating:1 windowrulev2 = tile,class:^.*([Kk]itty|[Ff]irefox|[Ww]ezterm|[Dd]iscord|[Ss]potify|[Ss]lack).*$
windowrulev2 = opacity 1.0 0.95,class:^.*$
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$

View file

@ -103,8 +103,8 @@
# TODO: monitor config module? # TODO: monitor config module?
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
settings = { settings = {
env = [ exec-once = [
"EWW_BAR_MON,0" "eww open bar1"
]; ];
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [ monitor = [
@ -122,6 +122,17 @@
force_no_accel = true; force_no_accel = true;
sensitivity = 1; # -1.0 - 1.0, 0 means no modification. sensitivity = 1; # -1.0 - 1.0, 0 means no modification.
}; };
workspace = [
"1, monitor:DP-3, default:true"
"2, monitor:DP-3, default:false"
"3, monitor:DP-3, default:false"
"4, monitor:DP-3, default:false"
"5, monitor:DP-3, default:false"
"6, monitor:DP-3, default:false"
"7, monitor:DP-3, default:false"
"8, monitor:DP-1, default:true"
"9, monitor:DP-1, default:false"
];
}; };
}; };