修改默认 firefox 和 mpv 相关规则

This commit is contained in:
2026-02-24 03:14:13 +08:00
parent d516d8f9e0
commit 89275d0643

View File

@@ -125,8 +125,9 @@ static const char *const autostart_list[] = {
static const rule_t rules[] = {
{.role = "dialog", .tag_index = -1, .floating = true},
{.class = "firefox", .tag_index = 1, .maximize = true},
{.class = "firefox", .role = "About", .tag_index = 1, .floating = true},
{.class = "firefox", .role = "browser", .tag_index = 1, .maximize = true},
{.class = "Google-chrome", .tag_index = 1, .maximize = true},
{.class = "mpv", .tag_index = 3, .switch_to_tag = true, .fullscreen = true},
{.class = "mpv", .tag_index = 11, .switch_to_tag = true, .fullscreen = true},
{.class = "Emacs", .tag_index = 10, .switch_to_tag = true, .maximize = true},
};