mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
@@ -496,7 +496,8 @@ func TestHyprlandConfigStructure(t *testing.T) {
|
|||||||
assert.Contains(t, HyprlandConfig, "exec-once = dms run")
|
assert.Contains(t, HyprlandConfig, "exec-once = dms run")
|
||||||
assert.Contains(t, HyprlandConfig, "bind = $mod, T, exec,")
|
assert.Contains(t, HyprlandConfig, "bind = $mod, T, exec,")
|
||||||
assert.Contains(t, HyprlandConfig, "bind = $mod, space, exec, dms ipc call spotlight toggle")
|
assert.Contains(t, HyprlandConfig, "bind = $mod, space, exec, dms ipc call spotlight toggle")
|
||||||
assert.Contains(t, HyprlandConfig, "windowrulev2 = noborder, class:^(com\\.mitchellh\\.ghostty)$")
|
assert.Contains(t, HyprlandConfig, "windowrule {")
|
||||||
|
assert.Contains(t, HyprlandConfig, "match:class = ^(com\\.mitchellh\\.ghostty)$")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGhosttyConfigStructure(t *testing.T) {
|
func TestGhosttyConfigStructure(t *testing.T) {
|
||||||
|
|||||||
@@ -100,36 +100,132 @@ misc {
|
|||||||
# ==================
|
# ==================
|
||||||
# WINDOW RULES
|
# WINDOW RULES
|
||||||
# ==================
|
# ==================
|
||||||
windowrulev2 = tile, class:^(org\.wezfurlong\.wezterm)$
|
windowrule {
|
||||||
|
name = windowrule-1
|
||||||
|
tile = on
|
||||||
|
match:class = ^(org\.wezfurlong\.wezterm)$
|
||||||
|
border_size = 0
|
||||||
|
}
|
||||||
|
|
||||||
windowrulev2 = rounding 12, class:^(org\.gnome\.)
|
|
||||||
windowrulev2 = noborder, class:^(org\.gnome\.)
|
|
||||||
|
|
||||||
windowrulev2 = tile, class:^(gnome-control-center)$
|
windowrule {
|
||||||
windowrulev2 = tile, class:^(pavucontrol)$
|
name = windowrule-2
|
||||||
windowrulev2 = tile, class:^(nm-connection-editor)$
|
rounding = 12
|
||||||
|
match:class = ^(org\.gnome\.)
|
||||||
|
border_size = 0
|
||||||
|
}
|
||||||
|
|
||||||
windowrulev2 = float, class:^(gnome-calculator)$
|
|
||||||
windowrulev2 = float, class:^(galculator)$
|
|
||||||
windowrulev2 = float, class:^(blueman-manager)$
|
|
||||||
windowrulev2 = float, class:^(org\.gnome\.Nautilus)$
|
|
||||||
windowrulev2 = float, class:^(steam)$
|
|
||||||
windowrulev2 = float, class:^(xdg-desktop-portal)$
|
|
||||||
|
|
||||||
windowrulev2 = noborder, class:^(org\.wezfurlong\.wezterm)$
|
|
||||||
windowrulev2 = noborder, class:^(Alacritty)$
|
|
||||||
windowrulev2 = noborder, class:^(zen)$
|
|
||||||
windowrulev2 = noborder, class:^(com\.mitchellh\.ghostty)$
|
|
||||||
windowrulev2 = noborder, class:^(kitty)$
|
|
||||||
|
|
||||||
windowrulev2 = float, class:^(firefox)$, title:^(Picture-in-Picture)$
|
windowrule {
|
||||||
windowrulev2 = float, class:^(zoom)$
|
name = windowrule-3
|
||||||
|
tile = on
|
||||||
|
match:class = ^(gnome-control-center)$
|
||||||
|
}
|
||||||
|
|
||||||
# DMS windows floating by default
|
windowrule {
|
||||||
windowrulev2 = float, class:^(org.quickshell)$
|
name = windowrule-4
|
||||||
windowrulev2 = opacity 0.9 0.9, floating:0, focus:0
|
tile = on
|
||||||
|
match:class = ^(pavucontrol)$
|
||||||
|
}
|
||||||
|
|
||||||
layerrule = noanim, ^(quickshell)$
|
windowrule {
|
||||||
|
name = windowrule-5
|
||||||
|
tile = on
|
||||||
|
match:class = ^(nm-connection-editor)$
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-6
|
||||||
|
float = on
|
||||||
|
match:class = ^(gnome-calculator)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-7
|
||||||
|
float = on
|
||||||
|
match:class = ^(galculator)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-8
|
||||||
|
float = on
|
||||||
|
match:class = ^(blueman-manager)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-9
|
||||||
|
float = on
|
||||||
|
match:class = ^(org\.gnome\.Nautilus)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-10
|
||||||
|
float = on
|
||||||
|
match:class = ^(steam)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-11
|
||||||
|
float = on
|
||||||
|
match:class = ^(xdg-desktop-portal)$
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-12
|
||||||
|
border_size = 0
|
||||||
|
match:class = ^(Alacritty)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-13
|
||||||
|
border_size = 0
|
||||||
|
match:class = ^(zen)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-14
|
||||||
|
border_size = 0
|
||||||
|
match:class = ^(com\.mitchellh\.ghostty)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-15
|
||||||
|
border_size = 0
|
||||||
|
match:class = ^(kitty)$
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-16
|
||||||
|
float = on
|
||||||
|
match:class = ^(firefox)$
|
||||||
|
match:title = ^(Picture-in-Picture)$
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-17
|
||||||
|
float = on
|
||||||
|
match:class = ^(zoom)$
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = windowrule-18
|
||||||
|
opacity = 0.9 0.9
|
||||||
|
match:float = 0
|
||||||
|
match:focus = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
layerrule {
|
||||||
|
name = layerrule-1
|
||||||
|
no_anim = on
|
||||||
|
match:namespace = ^(quickshell)$
|
||||||
|
}
|
||||||
|
|
||||||
# ==================
|
# ==================
|
||||||
# KEYBINDINGS
|
# KEYBINDINGS
|
||||||
|
|||||||
Reference in New Issue
Block a user