50 lines
2.1 KiB
Diff
50 lines
2.1 KiB
Diff
From 22ae928bb34fe5d1fc770bf675bfbdcf4f7ccf9e Mon Sep 17 00:00:00 2001
|
|
From: odrling <florianbadie@odrling.xyz>
|
|
Date: Wed, 20 Apr 2022 18:18:33 +0200
|
|
Subject: [PATCH 17/26] remove browser rules and add permanent
|
|
|
|
---
|
|
config.def.h | 12 ++++--------
|
|
patches.def.h | 2 +-
|
|
2 files changed, 5 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/config.def.h b/config.def.h
|
|
index dbb0d47..97226f8 100644
|
|
--- a/config.def.h
|
|
+++ b/config.def.h
|
|
@@ -458,14 +458,10 @@ 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 = "Carla2", .tags = 1 << 8, .monitor = 0, .switchtag = 0)
|
|
- RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0)
|
|
- RULE(.class = "easyeffects", .tags = 1 << 8, .monitor = 0)
|
|
- RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0)
|
|
+ RULE(.class = "Carla2", .tags = 1 << 8, .monitor = 0, .switchtag = 0, .ispermanent = 1)
|
|
+ RULE(.class = "Ardour", .tags = 1 << 8, .monitor = 0, .ispermanent = 1)
|
|
+ RULE(.class = "easyeffects", .tags = 1 << 8, .monitor = 0, .ispermanent = 1)
|
|
+ RULE(.class = "Agordejo", .tags = 1 << 8, .monitor = 0, .ispermanent = 1)
|
|
RULE(.class = "qBittorrent", .tags = 1 << 6, .switchtag = 1, .monitor = 0)
|
|
RULE(.class = "mpv", .instance = "syncplay-mpv", .monitor = 1)
|
|
RULE(.class = "Alacritty", .isterminal = 1)
|
|
diff --git a/patches.def.h b/patches.def.h
|
|
index 01a61e9..b2082fe 100644
|
|
--- a/patches.def.h
|
|
+++ b/patches.def.h
|
|
@@ -679,7 +679,7 @@
|
|
/* Adds rule option for clients to avoid accidental termination by killclient for sticky windows.
|
|
* https://dwm.suckless.org/patches/ispermanent/
|
|
*/
|
|
-#define ISPERMANENT_PATCH 0
|
|
+#define ISPERMANENT_PATCH 1
|
|
|
|
/* This patch adds key modes (like in vim or emacs) where chains of keyboard shortcuts
|
|
* can be performed.
|
|
--
|
|
2.35.1
|
|
|