Compare commits

...

3 Commits

Author SHA1 Message Date
Sravan Balaji
3f62ec4e0d 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
2023-11-21 15:11:17 -05:00
Sravan Balaji
b1cae0ce5e Merge remote-tracking branch 'upstream/master' 2023-11-14 19:05:02 -05:00
bakkeby
03ede82d5c focusmaster: adding restack to address stack issues when using monocle or deck layouts ref. #398 2023-11-13 21:20:37 +01:00
3 changed files with 11 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

View File

@@ -38,4 +38,5 @@ focusmaster(const Arg *arg)
#else
focus(master);
#endif // FOCUSMASTER_RETURN_PATCH
restack(m);
}