odrling-overlay/x11-wm/dwm/files/0009-discord-window-rules.patch

26 lines
901 B
Diff
Raw Normal View History

2022-08-31 16:59:34 +00:00
From f5d1c9ea198cf552b981475100a63cb6a328c1e6 Mon Sep 17 00:00:00 2001
2022-06-21 11:36:40 +00:00
From: odrling <florianbadie@odrling.xyz>
Date: Fri, 14 May 2021 20:04:15 +0200
2022-08-31 16:59:34 +00:00
Subject: [PATCH 09/27] discord window rules
2022-06-21 11:36:40 +00:00
---
config.def.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config.def.h b/config.def.h
2022-08-31 16:59:34 +00:00
index 860dbdd..fd69677 100644
2022-06-21 11:36:40 +00:00
--- a/config.def.h
+++ b/config.def.h
2022-08-31 16:59:34 +00:00
@@ -482,6 +482,8 @@ static const Rule rules[] = {
2022-06-21 11:36:40 +00:00
RULE(.wintype = WTYPE "UTILITY", .isfloating = 1)
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
+ RULE(.class = "discord", .tags = 1 << 0, .switchtag = 1, .monitor = 0)
+ RULE(.class = "lightcord", .tags = 1 << 0, .switchtag = 1, .monitor = 0)
RULE(.class = "Firefox", .tags = 1 << 7, .switchtag = 1)
RULE(.role = "browser", .tags = 1 << 7, .switchtag = 1)
RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0)
--
2022-08-31 16:59:34 +00:00
2.37.2
2022-06-21 11:36:40 +00:00