mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
Revert "dankinstall: update hyprland syntax"
This reverts commit 54b253099d.
This commit is contained in:
@@ -462,8 +462,7 @@ func TestHyprlandConfigStructure(t *testing.T) {
|
|||||||
assert.Contains(t, HyprlandConfig, "# KEYBINDINGS")
|
assert.Contains(t, HyprlandConfig, "# KEYBINDINGS")
|
||||||
assert.Contains(t, HyprlandConfig, "bind = $mod, T, exec, $TERMINAL")
|
assert.Contains(t, HyprlandConfig, "bind = $mod, T, exec, $TERMINAL")
|
||||||
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, "windowrule {")
|
assert.Contains(t, HyprlandConfig, "windowrulev2 = noborder, class:^(com\\.mitchellh\\.ghostty)$")
|
||||||
assert.Contains(t, HyprlandConfig, "match:class = ^(com\\.mitchellh\\.ghostty)$")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGhosttyConfigStructure(t *testing.T) {
|
func TestGhosttyConfigStructure(t *testing.T) {
|
||||||
|
|||||||
@@ -89,132 +89,36 @@ misc {
|
|||||||
# ==================
|
# ==================
|
||||||
# WINDOW RULES
|
# WINDOW RULES
|
||||||
# ==================
|
# ==================
|
||||||
windowrule {
|
windowrulev2 = tile, class:^(org\.wezfurlong\.wezterm)$
|
||||||
name = windowrule-1
|
|
||||||
tile = on
|
|
||||||
match:class = ^(org\.wezfurlong\.wezterm)$
|
|
||||||
border_size = 0
|
|
||||||
}
|
|
||||||
|
|
||||||
|
windowrulev2 = rounding 12, class:^(org\.gnome\.)
|
||||||
|
windowrulev2 = noborder, class:^(org\.gnome\.)
|
||||||
|
|
||||||
windowrule {
|
windowrulev2 = tile, class:^(gnome-control-center)$
|
||||||
name = windowrule-2
|
windowrulev2 = tile, class:^(pavucontrol)$
|
||||||
rounding = 12
|
windowrulev2 = tile, class:^(nm-connection-editor)$
|
||||||
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)$
|
||||||
|
|
||||||
windowrule {
|
windowrulev2 = float, class:^(firefox)$, title:^(Picture-in-Picture)$
|
||||||
name = windowrule-3
|
windowrulev2 = float, class:^(zoom)$
|
||||||
tile = on
|
|
||||||
match:class = ^(gnome-control-center)$
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
# DMS windows floating by default
|
||||||
name = windowrule-4
|
windowrulev2 = float, class:^(org.quickshell)$
|
||||||
tile = on
|
windowrulev2 = opacity 0.9 0.9, floating:0, focus:0
|
||||||
match:class = ^(pavucontrol)$
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
layerrule = noanim, ^(quickshell)$
|
||||||
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