fix rules

This commit is contained in:
mjallen18
2025-06-18 17:59:52 -05:00
parent d0880fd36d
commit 96360efd32
3 changed files with 62 additions and 67 deletions

View File

@@ -40,7 +40,7 @@ in
"$mod, P, pseudo, " # dwindle "$mod, P, pseudo, " # dwindle
"$mod, S, togglesplit, " # dwindle "$mod, S, togglesplit, " # dwindle
"$mod SHIFT, Q, exec, hyprlock" "$mod SHIFT, Q, exec, hyprlock"
", PRINT, exec, hyprshot -m region --clipboard-only" "$mod SHIFT, 4, exec, hyprshot -m region --clipboard-only"
"$mod,F,exec,hyprctl dispatch fullscreen active" "$mod,F,exec,hyprctl dispatch fullscreen active"
"$mod SHIFT, E, exec, smile" "$mod SHIFT, E, exec, smile"
@@ -67,16 +67,16 @@ in
"$mod, 9, workspace, 9" "$mod, 9, workspace, 9"
"$mod, 0, workspace, 10" "$mod, 0, workspace, 10"
"$mod SHIFT, 1, movetoworkspace, 1" "$mod ALT, 1, movetoworkspace, 1"
"$mod SHIFT, 2, movetoworkspace, 2" "$mod ALT, 2, movetoworkspace, 2"
"$mod SHIFT, 3, movetoworkspace, 3" "$mod ALT, 3, movetoworkspace, 3"
"$mod SHIFT, 4, movetoworkspace, 4" "$mod ALT, 4, movetoworkspace, 4"
"$mod SHIFT, 5, movetoworkspace, 5" "$mod ALT, 5, movetoworkspace, 5"
"$mod SHIFT, 6, movetoworkspace, 6" "$mod ALT, 6, movetoworkspace, 6"
"$mod SHIFT, 7, movetoworkspace, 7" "$mod ALT, 7, movetoworkspace, 7"
"$mod SHIFT, 8, movetoworkspace, 8" "$mod ALT, 8, movetoworkspace, 8"
"$mod SHIFT, 9, movetoworkspace, 9" "$mod ALT, 9, movetoworkspace, 9"
"$mod SHIFT, 0, movetoworkspace, discord" "$mod ALT, 0, movetoworkspace, discord"
"$mod CTRL, l, resizeactive, 10 0" "$mod CTRL, l, resizeactive, 10 0"
"$mod CTRL, h, resizeactive, -10 0" "$mod CTRL, h, resizeactive, -10 0"
@@ -135,10 +135,10 @@ in
new_optimizations = true; new_optimizations = true;
xray = false; xray = false;
}; };
drop_shadow = "yes"; # drop_shadow = "yes";
shadow_range = 4; # shadow_range = 4;
shadow_render_power = "3"; # shadow_render_power = "3";
"col.shadow" = "rgba(1a1a1aee)"; # "col.shadow" = "rgba(1a1a1aee)";
}; };
animations = { animations = {
@@ -173,63 +173,58 @@ in
}; };
workspace = [ workspace = [
"name:firefox, monitor:DP-2, default:false, special, firefox" "name:firefox, monitor:DP-2, default:false, special, class:(.*firefox.*)"
"name:discord, monitor:DP-2, default:true, special, vesktop, spotify" "name:discord, monitor:DP-2, default:true, special, title:(.*vesktop.*), title:(.*Apple Music.*)"
"name:steam, monitor:DP-1, default:false, special, steam" "name:steam, monitor:DP-1, default:false, special, class:(.*[Ss]team.*)"
]; ];
windowrule = [ windowrule = [
"float, file_progress" "float, title:(file_progress)"
"float, confirm" "float, title:(.*confirm.*)"
"float, dialog" "float, title:(.*dialog.*)"
"float, download" "float, title:(.*download.*)"
"float, notification" "float, title:(.*notification.*)"
"float, error" "float, title:(.*error.*)"
"float, splash" "float, title:(.*splash.*)"
"float, confirmreset" "float, title:(.*confirmreset.*)"
"float, title:Open File" "float, title:(.*Open File.*)"
"float, title:branchdialog" "float, title:(.*branchdialog.*)"
"float, pavucontrol" "float, class:(.*pavucontrol)"
"move onscreen cursor 0% 0%, pavucontrol" "move onscreen cursor 0% 0%, class:(.*pavucontrol)"
"float, file-roller" "float, class:(.*FileRoller)"
"fullscreen, wlogout" "float, class:(.*wlogout)"
"float, title:wlogout" "idleinhibit stayfocused, title:(.*mpv)"
"fullscreen, title:wlogout"
"idleinhibit stayfocused, mpv" "float, title:(Media viewer)"
]; "float, class:(it.mijorus.smile),title:(Smile)"
"float, class:(.blueman-manager-wrapped)$,title:(Bluetooth Devices)"
windowrulev2 = [
"float, title:^(Media viewer)$"
"float, class:^(it.mijorus.smile)$,title:^(Smile)$"
"float, class:^(.blueman-manager-wrapped)$,title:^(Bluetooth Devices)$"
# Picture in picture windows # Picture in picture windows
# "float, class:pavucontrol,title:pavucontrol" # ????? "float, title:(.*Picture-in-Picture.*)"
"float, title:^(Picture-in-Picture)$" "pin, title::(.*Picture-in-Picture.*)"
"pin, title:^(Picture-in-Picture)$"
# discord/vesktop # discord/vesktop
"workspace: name:discord, class:^(vesktop)$" "workspace: name:discord, class:(.*vesktop)"
"float, class:^(vesktop)$,title:^(Discord Popout)$" "float, class:(.*vesktop),title:(.*Discord Popout.*)"
"pin, class:^(vesktop)$,title:^(Discord Popout)$" "pin, class:(.*vesktop),title:(.*Discord Popout.*)"
# Steam # Steam
"float, class:^([Ss]team)$, title:^((?![Ss]team).*)$" "float, class:(.*[Ss]team), title:(.*[Ss]team.*)$"
"workspace name:steam silent, class:^([Ss]team)$, title:^([Ss]team)$" "workspace name:steam silent, class:(.*[Ss]team), title:(.*[Ss]team.*)$"
"tile, class:^([Ss]team)$, title:^([Ss]team)$" "tile, class:(.*[Ss]team), title:(.*[Ss]team.*)$"
"float, class:^(steam)$,title:^(Friends List)$" "float, class:(.*steam),title:(.*Friends List.*)"
# Code # Code
# "pin, class:^(code)$,title:^(Save As)$" "pin, class:(.*codium.*),title:(Save As)"
"float, class:^(code)$,title:^(Save As)$" "float, class:(.*codium.*),title:(Save As)"
"float, class:^(xdg-desktop-portal-gtk)$,title:^(Open Workspace from File)$" "float, class:(xdg-desktop-portal-gtk),title:(Open Workspace from File)"
# Game Tearing??? https://wiki.hyprland.org/Configuring/Tearing/ # Game Tearing??? https://wiki.hyprland.org/Configuring/Tearing/
"immediate, class:gamescope" "immediate, class:(.*gamescope)"
# todo properly fix this shit instead of using gamescope # todo properly fix this shit instead of using gamescope
# vmware # vmware
"tag +horizonrdp, class:Remote Desktop Connection,title:BBar" "tag +horizonrdp, class:(Remote Desktop Connection),title:(BBar)"
"tag +horizonrdp, class:Remote Desktop Connection,title:Remote Desktop Connection" "tag +horizonrdp, class:(Remote Desktop Connection),title:(Remote Desktop Connection)"
"noanim, tag:horizonrdp" "noanim, tag:horizonrdp"
"noblur, tag:horizonrdp" "noblur, tag:horizonrdp"
@@ -241,10 +236,10 @@ in
"nodim, tag:horizonrdp" "nodim, tag:horizonrdp"
"nomaxsize, tag:horizonrdp" "nomaxsize, tag:horizonrdp"
"float, class:Vmware-view,title:VMware Horizon Client" "float, class:(.*Vmware-view),title:(VMware Horizon Client"
"float, class:Remote Desktop Connection,title:^(Remote Desktop Connection)$" "float, class:(Remote Desktop Connection),title:(.*Remote Desktop Connection.*)"
"float, class:Remote Desktop Connection,title:^(5cd238b4x0)$" "float, class:(Remote Desktop Connection),title:(.*5cd238b4x0.*)"
"float, class:Credential Manager UI Host,title:Windows Security" "float, class:(Credential Manager UI Host),title:(.*Windows Security.*)"
]; ];
input = { input = {
@@ -276,7 +271,7 @@ in
exec-once = blueberry-tray exec-once = blueberry-tray
exec-once = [silent] firefox exec-once = [silent] firefox
exec-once = [silent] vesktop exec-once = [silent] vesktop
exec-once = [silent] spotify exec-once = [silent] chromium --app="https://music.apple.com"
exec-once = [silent] steam exec-once = [silent] steam
''; '';
}; };

View File

@@ -21,10 +21,10 @@ in
egl-wayland egl-wayland
unstable.file-roller unstable.file-roller
glib glib
unstable.gnome-tweaks gnome-tweaks
unstable.gnome-disk-utility gnome-disk-utility
unstable.gnome-system-monitor gnome-system-monitor
unstable.gsettings-desktop-schemas gsettings-desktop-schemas
hyprcursor hyprcursor
hyprland hyprland
hyprshot hyprshot

View File

@@ -18,7 +18,7 @@ let
# iconThemeColor = "dark"; # "" "light" "dark" # iconThemeColor = "dark"; # "" "light" "dark"
# iconThemeVariant = ""; # "" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" # iconThemeVariant = ""; # "" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey"
iconThemeScheme = "nord"; # "" "nord" "dracula" "gruvbox" "everforest" "catppuccin" iconThemeScheme = "nord"; # "" "nord" "dracula" "gruvbox" "everforest" "catppuccin"
iconTheme = "Colloid-Nord"; iconTheme = "Colloid-Nord-Dark";
iconThemePkg = pkgs.colloid-icon-theme.override { iconThemePkg = pkgs.colloid-icon-theme.override {
schemeVariants = [ iconThemeScheme ]; schemeVariants = [ iconThemeScheme ];
colorVariants = [ "default" ]; colorVariants = [ "default" ];