Swallow Patch & Window Rules
- Enable swallow patch - Set kitty as `isterminal` for swallow - Remove MATLAB rule with GNU Octave - Add rules for Ubisoft Connect and Prism Launcher - Remove rule for motrix (no longer using it)
This commit is contained in:
parent
f797d8d865
commit
dfb0318727
10
README.org
10
README.org
@ -2870,7 +2870,7 @@ You need to uncomment the corresponding line in config.mk to use the above libra
|
||||
https://dwm.suckless.org/patches/swallow/
|
||||
|
||||
#+BEGIN_SRC c :tangle patches.def.h
|
||||
#define SWALLOW_PATCH 0
|
||||
#define SWALLOW_PATCH 1
|
||||
#+END_SRC
|
||||
|
||||
*** Swap Focus
|
||||
@ -4181,25 +4181,25 @@ static const Rule rules[] = {
|
||||
RULE(.class = "Ferdium", .tags = 1 << 0)
|
||||
RULE(.class = "Signal", .tags = 1 << 0)
|
||||
RULE(.class = "discord", .tags = 1 << 0)
|
||||
RULE(.class = "Microsoft Teams - Preview", .tags = 1 << 0)
|
||||
RULE(.class = "notion-app-enhanced", .tags = 1 << 1)
|
||||
RULE(.class = "pocket-casts-linux", .tags = 1 << 2)
|
||||
RULE(.class = "Spotify", .tags = 1 << 3)
|
||||
RULE(.class = "Vivaldi-stable", .tags = 1 << 4)
|
||||
RULE(.class = "kitty", .tags = 1 << 5)
|
||||
RULE(.class = "kitty", .tags = 1 << 5, .isterminal = 1)
|
||||
RULE(.class = "Emacs", .tags = 1 << 6)
|
||||
RULE(.class = "Code", .tags = 1 << 6)
|
||||
RULE(.class = "MATLAB R2021a - academic use", .tags = 1 << 6)
|
||||
RULE(.class = "GNU Octave", .tags = 1 << 6)
|
||||
RULE(.class = "Steam", .tags = 1 << 7)
|
||||
RULE(.class = "Lutris", .tags = 1 << 7)
|
||||
RULE(.title = "Origin", .tags = 1 << 7, .isfloating = 1)
|
||||
RULE(.title = "Ubisoft Connect", .tags = 1 << 7, .isfloating = 1)
|
||||
RULE(.class = "PrismLauncher", .tags = 1 << 7)
|
||||
RULE(.class = "Thunar", .tags = 1 << 8)
|
||||
RULE(.class = "trackma", .tags = 1 << 8)
|
||||
RULE(.class = "Trackma-gtk", .tags = 1 << 8)
|
||||
RULE(.class = "obs", .tags = 1 << 8)
|
||||
RULE(.class = "NoiseTorch", .tags = 1 << 8)
|
||||
RULE(.class = "kdenlive", .tags = 1 << 8)
|
||||
RULE(.class = "Motrix", .tags = 1 << 8)
|
||||
#if RENAMED_SCRATCHPADS_PATCH
|
||||
RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1)
|
||||
#elif SCRATCHPADS_PATCH
|
||||
|
@ -470,25 +470,25 @@ static const Rule rules[] = {
|
||||
RULE(.class = "Ferdium", .tags = 1 << 0)
|
||||
RULE(.class = "Signal", .tags = 1 << 0)
|
||||
RULE(.class = "discord", .tags = 1 << 0)
|
||||
RULE(.class = "Microsoft Teams - Preview", .tags = 1 << 0)
|
||||
RULE(.class = "notion-app-enhanced", .tags = 1 << 1)
|
||||
RULE(.class = "pocket-casts-linux", .tags = 1 << 2)
|
||||
RULE(.class = "Spotify", .tags = 1 << 3)
|
||||
RULE(.class = "Vivaldi-stable", .tags = 1 << 4)
|
||||
RULE(.class = "kitty", .tags = 1 << 5)
|
||||
RULE(.class = "kitty", .tags = 1 << 5, .isterminal = 1)
|
||||
RULE(.class = "Emacs", .tags = 1 << 6)
|
||||
RULE(.class = "Code", .tags = 1 << 6)
|
||||
RULE(.class = "MATLAB R2021a - academic use", .tags = 1 << 6)
|
||||
RULE(.class = "GNU Octave", .tags = 1 << 6)
|
||||
RULE(.class = "Steam", .tags = 1 << 7)
|
||||
RULE(.class = "Lutris", .tags = 1 << 7)
|
||||
RULE(.title = "Origin", .tags = 1 << 7, .isfloating = 1)
|
||||
RULE(.title = "Ubisoft Connect", .tags = 1 << 7, .isfloating = 1)
|
||||
RULE(.class = "PrismLauncher", .tags = 1 << 7)
|
||||
RULE(.class = "Thunar", .tags = 1 << 8)
|
||||
RULE(.class = "trackma", .tags = 1 << 8)
|
||||
RULE(.class = "Trackma-gtk", .tags = 1 << 8)
|
||||
RULE(.class = "obs", .tags = 1 << 8)
|
||||
RULE(.class = "NoiseTorch", .tags = 1 << 8)
|
||||
RULE(.class = "kdenlive", .tags = 1 << 8)
|
||||
RULE(.class = "Motrix", .tags = 1 << 8)
|
||||
#if RENAMED_SCRATCHPADS_PATCH
|
||||
RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1)
|
||||
#elif SCRATCHPADS_PATCH
|
||||
|
@ -303,7 +303,7 @@
|
||||
|
||||
#define STICKY_PATCH 0
|
||||
|
||||
#define SWALLOW_PATCH 0
|
||||
#define SWALLOW_PATCH 1
|
||||
|
||||
#define SWAPFOCUS_PATCH 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user