Compare commits

..

2 Commits

Author SHA1 Message Date
m3tm3re
4b386040db fix(hyprland): update window rules to new syntax
- Replace old windowrule format with new match: prefix syntax
- Fix property names: initialTitle → initial_title
- Fix effect names: idleinhibit → idle_inhibit, noanim → no_anim, etc.
- Replace noborder with decorate off (correct effect)
- Fix pomodoro move expression to use monitor_h variable
- Apply fixes across all host configs (m3-ares, m3-kratos, m3-daedalus)
2026-01-09 12:30:20 +01:00
m3tm3re
e7a02dc45e Opencode model setup to Opencode Zen 2026-01-09 10:28:17 +01:00
6 changed files with 75 additions and 66 deletions

15
flake.lock generated
View File

@@ -243,14 +243,17 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1767842098, "lastModified": 1767842383,
"narHash": "sha256-+hCLsTu3vK94SZuEWq29TQzGRj3m7asuk83AJKwqXpM=", "narHash": "sha256-+AajfKU6fOTT1bf3YSgpyV5kk/965y3zg6pQ9cWF6Bg=",
"path": "/home/m3tam3re/p/NIX/nixpkgs", "ref": "refs/heads/master",
"type": "path" "rev": "be7cd917a015e24e328eee684f5df2cba2a88254",
"revCount": 26,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
}, },
"original": { "original": {
"path": "/home/m3tam3re/p/NIX/nixpkgs", "type": "git",
"type": "path" "url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
} }
}, },
"nix-colors": { "nix-colors": {

View File

@@ -22,8 +22,8 @@
nixpkgs-9e58ed7.url = "github:nixos/nixpkgs/9e58ed7ba759d81c98f033b7f5eba21ca68f53b0"; nixpkgs-9e58ed7.url = "github:nixos/nixpkgs/9e58ed7ba759d81c98f033b7f5eba21ca68f53b0";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; nixpkgs-master.url = "github:nixos/nixpkgs/master";
# m3ta-nixpkgs.url = "git+https://code.m3ta.dev/m3tam3re/nixpkgs"; m3ta-nixpkgs.url = "git+https://code.m3ta.dev/m3tam3re/nixpkgs";
m3ta-nixpkgs.url = "path:/home/m3tam3re/p/NIX/nixpkgs"; # m3ta-nixpkgs.url = "path:/home/m3tam3re/p/NIX/nixpkgs";
# #
nur = { nur = {
url = "github:nix-community/NUR"; url = "github:nix-community/NUR";

View File

@@ -107,42 +107,48 @@ in {
} }
]; ];
windowrule = [ windowrule = [
"float, class:file_progress" # Floating dialogs
"float, class:confirm" "match:class file_progress, float on"
"float, class:dialog" "match:class confirm, float on"
"float, class:download" "match:class dialog, float on"
"float, class:notification" "match:class download, float on"
"float, class:error" "match:class notification, float on"
"float, class:splash" "match:class error, float on"
"float, class:confirmreset" "match:class splash, float on"
"float, title:Open File" "match:class confirmreset, float on"
"float, title:branchdialog" "match:title Open File, float on"
"float, class:pavucontrol-qt" "match:title branchdialog, float on"
"float, class:pavucontrol" "match:class pavucontrol-qt, float on"
"fullscreen, class:wlogout" "match:class pavucontrol, float on"
"float, title:wlogout" # wlogout
"fullscreen, title:wlogout" "match:class wlogout, fullscreen on"
"float, class:mpv" "match:title wlogout, float on"
"idleinhibit focus, class:mpv" "match:title wlogout, fullscreen on"
"opacity 1.0 override, class:mpv" # mpv
"float, title:^(Media viewer)$" "match:class mpv, float on"
"float, title:^(Volume Control)$" "match:class mpv, idle_inhibit focus"
"float, title:^(Picture-in-Picture)$" "match:class mpv, opacity 1.0 override"
"float,title:^(floating-pomodoro)$" # Media/Volume/PiP
"size 250 50, title:^(floating-pomodoro)$" "match:title ^(Media viewer)$, float on"
"move 12 100%-150,title:^(floating-pomodoro)$" "match:title ^(Volume Control)$, float on"
"pin,title:^(floating-pomodoro)$" "match:title ^(Picture-in-Picture)$, float on"
"float, initialTitle:.*streamlabs.com.*" # Pomodoro timer
"pin, initialTitle:.*streamlabs.com.*" "match:title ^(floating-pomodoro)$, float on"
"size 800 400, initialTitle:.*streamlabs.com.*" "match:title ^(floating-pomodoro)$, size 250 50"
"move 100%-820 102, initialTitle:.*alert-box.*" "match:title ^(floating-pomodoro)$, move 12 (monitor_h-150)"
"move 100%-820 512, initialTitle:.*chat-box.*" "match:title ^(floating-pomodoro)$, pin on"
"opacity 0.5 override, initialTitle:.*streamlabs.com.*" # Streamlabs overlays
"idleinhibit focus, initialTitle:.*streamlabs.com.*" "match:initial_title .*streamlabs.com.*, float on"
"noanim, initialTitle:.*streamlabs.com.*" "match:initial_title .*streamlabs.com.*, pin on"
"noborder, initialTitle:.*streamlabs.com.*" "match:initial_title .*streamlabs.com.*, size 800 400"
"noshadow, initialTitle:.*streamlabs.com.*" "match:initial_title .*alert-box.*, move 100%-820 102"
"noblur, initialTitle:.*streamlabs.com.*" "match:initial_title .*chat-box.*, move 100%-820 512"
"match:initial_title .*streamlabs.com.*, opacity 0.5 override"
"match:initial_title .*streamlabs.com.*, idle_inhibit focus"
"match:initial_title .*streamlabs.com.*, no_anim on"
"match:initial_title .*streamlabs.com.*, decorate off"
"match:initial_title .*streamlabs.com.*, no_shadow on"
"match:initial_title .*streamlabs.com.*, no_blur on"
]; ];
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
"$terminal" = "kitty"; "$terminal" = "kitty";

View File

@@ -79,14 +79,14 @@ with lib; {
"6, monitor:HDMI-A-1" "6, monitor:HDMI-A-1"
]; ];
windowrule = [ windowrule = [
"workspace 1,class:dev.zed.Zed" "match:class dev.zed.Zed, workspace 1"
"workspace 1,class:Msty" "match:class Msty, workspace 1"
"workspace 2,class:(com.obsproject.Studio)" "match:class ^(com.obsproject.Studio)$, workspace 2"
"workspace 4,opacity 1.0, class:(brave-browser)" "match:class ^(brave-browser)$, workspace 4, opacity 1.0"
"workspace 4,opacity 1.0, class:(vivaldi-stable)" "match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
"fullscreen,class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, fullscreen on"
"workspace 5,class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, workspace 5"
"idleinhibit focus, class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, idle_inhibit focus"
]; ];
}; };
}; };

View File

@@ -85,14 +85,14 @@ in {
"6, monitor:HDMI-A-1" "6, monitor:HDMI-A-1"
]; ];
windowrule = [ windowrule = [
"workspace 1,class:dev.zed.Zed" "match:class dev.zed.Zed, workspace 1"
"workspace 1,class:Msty" "match:class Msty, workspace 1"
"workspace 2,class:(com.obsproject.Studio)" "match:class ^(com.obsproject.Studio)$, workspace 2"
"workspace 4,opacity 1.0, class:(brave-browser)" "match:class ^(brave-browser)$, workspace 4, opacity 1.0"
"workspace 4,opacity 1.0, class:(vivaldi-stable)" "match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
"fullscreen,class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, fullscreen on"
"workspace 5,class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, workspace 5"
"idleinhibit focus, class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, idle_inhibit focus"
]; ];
}; };
}; };

View File

@@ -79,12 +79,12 @@ with lib; {
]; ];
windowrule = [ windowrule = [
"workspace 1,class:dev.zed.Zed" "match:class dev.zed.Zed, workspace 1"
"workspace 1,class:Msty" "match:class Msty, workspace 1"
"workspace 2,class:(com.obsproject.Studio)" "match:class ^(com.obsproject.Studio)$, workspace 2"
"workspace 4,opacity 1.0, class:(brave-browser)" "match:class ^(brave-browser)$, workspace 4, opacity 1.0"
"workspace 4,opacity 1.0, class:(vivaldi-stable)" "match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
"idleinhibit focus, class:^steam_app_\\d+$" "match:class ^steam_app_\\d+$, idle_inhibit focus"
]; ];
}; };
}; };