Update Window Rules

- Add automatic tagging for Logseq, Gamescope, Syncthing, Nyrna, and OpenRGB
- Remove auto tagging for specific gaming related apps since they
  should be running inside gamescope anyways
This commit is contained in:
Sravan Balaji
2023-11-14 19:18:42 -05:00
parent b1cae0ce5e
commit 3f62ec4e0d
2 changed files with 10 additions and 6 deletions

View File

@ -4254,6 +4254,7 @@ static const Rule rules[] = {
RULE(.class = "Signal", .tags = 1 << 0)
RULE(.class = "discord", .tags = 1 << 0)
RULE(.class = "notion-app-enhanced", .tags = 1 << 1)
RULE(.class = "Logseq", .tags = 1 << 1)
RULE(.class = "pocket-casts-linux", .tags = 1 << 2)
RULE(.class = "Spotify", .tags = 1 << 3)
RULE(.class = "Vivaldi-stable", .tags = 1 << 4)
@ -4263,15 +4264,16 @@ static const Rule rules[] = {
RULE(.class = "GNU Octave", .tags = 1 << 6)
RULE(.title = "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 = "gamescope", .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 = "Syncthing GTK", .tags = 1 << 8)
RULE(.class = "Nyrna", .tags = 1 << 8)
RULE(.class = "openrgb", .tags = 1 << 8)
#if RENAMED_SCRATCHPADS_PATCH
RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1)
#elif SCRATCHPADS_PATCH

View File

@ -479,6 +479,7 @@ static const Rule rules[] = {
RULE(.class = "Signal", .tags = 1 << 0)
RULE(.class = "discord", .tags = 1 << 0)
RULE(.class = "notion-app-enhanced", .tags = 1 << 1)
RULE(.class = "Logseq", .tags = 1 << 1)
RULE(.class = "pocket-casts-linux", .tags = 1 << 2)
RULE(.class = "Spotify", .tags = 1 << 3)
RULE(.class = "Vivaldi-stable", .tags = 1 << 4)
@ -488,15 +489,16 @@ static const Rule rules[] = {
RULE(.class = "GNU Octave", .tags = 1 << 6)
RULE(.title = "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 = "gamescope", .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 = "Syncthing GTK", .tags = 1 << 8)
RULE(.class = "Nyrna", .tags = 1 << 8)
RULE(.class = "openrgb", .tags = 1 << 8)
#if RENAMED_SCRATCHPADS_PATCH
RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1)
#elif SCRATCHPADS_PATCH