This commit is contained in:
Miguel Palhas
2026-02-05 14:57:31 +00:00
parent 616a3929cd
commit afb7ef8c68
5 changed files with 64 additions and 60 deletions
Generated
+6 -6
View File
@@ -133,11 +133,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1766387499, "lastModified": 1770299906,
"narHash": "sha256-AjK3/UKDzeXFeYNLVBaJ3+HLE9he1g5UrlNd4/BM3eA=", "narHash": "sha256-/t77Jcj4slWWby2v7Fng48wO7XNvcJNkrx3yyFpvKiw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "527ad07e6625302b648ed3b28c34b62a79bd103e", "rev": "bbccee87134fdf6d153d10ff8c06f94d7339c830",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -271,11 +271,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1770115704, "lastModified": 1770197578,
"narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=", "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e6eae2ee2110f3d31110d5c222cd395303343b08", "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
"type": "github" "type": "github"
}, },
"original": { "original": {
+5 -5
View File
@@ -34,11 +34,11 @@
"4, monitor:eDP-1" "4, monitor:eDP-1"
]; ];
windowrulev2 = [ windowrule = [
"noinitialfocus, class:bevy-.*" "no_initial_focus on, match:class bevy-.*"
"float, class:bevy-.*" "float on, match:class bevy-.*"
"size 800 600, class:bevy-.*" "size 800 600, match:class bevy-.*"
"move 100%-800 100%-600, class:bevy-.*" "move 100%-800 100%-600, match:class bevy-.*"
]; ];
}; };
+26 -22
View File
@@ -56,7 +56,11 @@ in
misc = { misc = {
disable_hyprland_logo = true; disable_hyprland_logo = true;
disable_splash_rendering = true; disable_splash_rendering = true;
new_window_takes_over_fullscreen = 2; on_focus_under_fullscreen = 2;
};
ecosystem = {
no_update_news = true;
}; };
xwayland = { xwayland = {
@@ -122,40 +126,40 @@ in
"special:yazi, on-created-empty:[float; size 1400 1000; move center] kitty --session sessions/yazi, persistent:false" "special:yazi, on-created-empty:[float; size 1400 1000; move center] kitty --session sessions/yazi, persistent:false"
]; ];
windowrulev2 = [ windowrule = [
# imv # imv
"float, class:imv" "float on, match:class imv"
"move cursor -50% -50%, class:imv" "move cursor -50% -50%, match:class imv"
"float, title:termfilechooser" "float on, match:title termfilechooser"
"move center, title:termfilechooser" "move center, match:title termfilechooser"
# bluetooth # bluetooth
"float, class:blueman-manager" "float on, match:class blueman-manager"
"move cursor -50% -50%, class:blueman-manager" "move cursor -50% -50%, match:class blueman-manager"
"size 600 400, class:blueman-manager" "size 600 400, match:class blueman-manager"
# pavucontrol # pavucontrol
"float, class:pavucontrol" "float on, match:class pavucontrol"
"move cursor -50% -50%, class:pavucontrol" "move cursor -50% -50%, match:class pavucontrol"
"size 600 600, class:pavucontrol" "size 600 600, match:class pavucontrol"
# metamask # metamask
"float, class:chrome-nkbihfbeogaeaoehlefnkodbefgpgknn-.*" "float on, match:class chrome-nkbihfbeogaeaoehlefnkodbefgpgknn-.*"
# bitwarden, chrome # bitwarden, chrome
"float, class:chrome-nngceckbapebfimnlniiiahkandclblb-.*" "float on, match:class chrome-nngceckbapebfimnlniiiahkandclblb-.*"
# no gaps when only window # no gaps when only window
"bordersize 0, floating:0, onworkspace:w[t1]" "border_size 0, match:float 0, match:workspace w[t1]"
"rounding 0, floating:0, onworkspace:w[t1]" "rounding 0, match:float 0, match:workspace w[t1]"
"bordersize 0, floating:0, onworkspace:w[tg1]" "border_size 0, match:float 0, match:workspace w[tg1]"
"rounding 0, floating:0, onworkspace:w[tg1]" "rounding 0, match:float 0, match:workspace w[tg1]"
"bordersize 0, floating:0, onworkspace:f[1]" "border_size 0, match:float 0, match:workspace f[1]"
"rounding 0, floating:0, onworkspace:f[1]" "rounding 0, match:float 0, match:workspace f[1]"
"move center, onworkspace:special:terminal" "move center, match:workspace special:terminal"
"move center, onworkspace:special:yazi" "move center, match:workspace special:yazi"
]; ];
"$mod" = "SUPER"; "$mod" = "SUPER";
+11 -11
View File
@@ -89,18 +89,18 @@ let
local size=$1 local size=$1
local color=$2 local color=$2
# Unset existing rules for single-window workspaces # Unset existing rules for single-window workspaces
hyprctl keyword windowrulev2 "unset, floating:0, onworkspace:w[t1]" hyprctl keyword windowrule "unset, match:float 0, match:workspace w[t1]"
hyprctl keyword windowrulev2 "unset, floating:0, onworkspace:w[tg1]" hyprctl keyword windowrule "unset, match:float 0, match:workspace w[tg1]"
hyprctl keyword windowrulev2 "unset, floating:0, onworkspace:f[1]" hyprctl keyword windowrule "unset, match:float 0, match:workspace f[1]"
hyprctl keyword windowrulev2 "unset, fullscreen:1" hyprctl keyword windowrule "unset, match:fullscreen 1"
# Re-add with specified border size # Re-add with specified border size
hyprctl keyword windowrulev2 "bordersize $size, floating:0, onworkspace:w[t1]" hyprctl keyword windowrule "border_size $size, match:float 0, match:workspace w[t1]"
hyprctl keyword windowrulev2 "rounding 0, floating:0, onworkspace:w[t1]" hyprctl keyword windowrule "rounding 0, match:float 0, match:workspace w[t1]"
hyprctl keyword windowrulev2 "bordersize $size, floating:0, onworkspace:w[tg1]" hyprctl keyword windowrule "border_size $size, match:float 0, match:workspace w[tg1]"
hyprctl keyword windowrulev2 "rounding 0, floating:0, onworkspace:w[tg1]" hyprctl keyword windowrule "rounding 0, match:float 0, match:workspace w[tg1]"
hyprctl keyword windowrulev2 "bordersize $size, floating:0, onworkspace:f[1]" hyprctl keyword windowrule "border_size $size, match:float 0, match:workspace f[1]"
hyprctl keyword windowrulev2 "rounding 0, floating:0, onworkspace:f[1]" hyprctl keyword windowrule "rounding 0, match:float 0, match:workspace f[1]"
hyprctl keyword windowrulev2 "bordersize $size, fullscreen:1" hyprctl keyword windowrule "border_size $size, match:fullscreen 1"
# Set border color # Set border color
hyprctl keyword general:col.active_border "$color" hyprctl keyword general:col.active_border "$color"
} }
+16 -16
View File
@@ -38,27 +38,27 @@
"WEBKIT_DISABLE_DMABUF_RENDERER, 1" "WEBKIT_DISABLE_DMABUF_RENDERER, 1"
]; ];
windowrulev2 = [ windowrule = [
# ethui-dev # ethui-dev
"workspace 2, title:ethui-dev.*" "workspace 2, match:title ethui-dev.*"
"noinitialfocus, title:ethui-dev.*" "no_initial_focus on, match:title ethui-dev.*"
"float, title:ethui-dev - dialog.*" "float on, match:title ethui-dev - dialog.*"
"workspace 1, title:ethui.*" "workspace 1, match:title ethui.*"
"noinitialfocus, title:ethui.*" "no_initial_focus on, match:title ethui.*"
"float, title:ethui - dialog.*" "float on, match:title ethui - dialog.*"
"workspace 1, title:^\\[bevy\\].*" "workspace 1, match:title ^\\[bevy\\].*"
"workspace 3 silent, class:bevy-.*" "workspace 3 silent, match:class bevy-.*"
"noinitialfocus, class:bevy-.*" "no_initial_focus on, match:class bevy-.*"
"fullscreen, class:bevy-.*" "fullscreen on, match:class bevy-.*"
"workspace 1 silent, title:egui-.*" "workspace 1 silent, match:title egui-.*"
"bordersize 0, title:egui-.*" "border_size 0, match:title egui-.*"
"float, title:egui-.*" "float on, match:title egui-.*"
"noblur, title:egui-.*" "no_blur on, match:title egui-.*"
"move 100%-w-20 100%-h-20, title:egui-.*" "move 100%-w-20 100%-h-20, match:title egui-.*"
]; ];
render = { render = {