odrling-overlay/x11-wm/dwm/files/0009-discord-window-rules.patch
2022-06-21 13:46:07 +02:00

26 lines
901 B
Diff

From 22be898cf31df1f6e670be81258e6ed16e1f11a9 Mon Sep 17 00:00:00 2001
From: odrling <florianbadie@odrling.xyz>
Date: Fri, 14 May 2021 20:04:15 +0200
Subject: [PATCH 09/26] discord window rules
---
config.def.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config.def.h b/config.def.h
index c73e40e..d07511f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -458,6 +458,8 @@ static const Rule rules[] = {
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)
--
2.35.1