aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-10-14 11:38:15 -0600
committerJosh Rahm <rahm@google.com>2024-10-14 11:38:44 -0600
commit9b0750ba68aee61aacf7538b5b14d8f265e934e5 (patch)
tree19b9bc2b2421d4ab94f28f1e8089b3d568fc2315 /src/Main.hs
parent08eacc1d437b08863ebe521446e040bc4fa219a2 (diff)
downloadrde-9b0750ba68aee61aacf7538b5b14d8f265e934e5.tar.gz
rde-9b0750ba68aee61aacf7538b5b14d8f265e934e5.tar.bz2
rde-9b0750ba68aee61aacf7538b5b14d8f265e934e5.zip
Add some support for vertially ordered screens.
Add's the workspace '+' as the first workspace that's not on the same 'plane' as the current workspace. A screen, screen1 is considered on the same plane as screen2 if screen2's vertical center point is within screen1's vertical bounds.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index a9aa419..0c00be9 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -121,6 +121,7 @@ main = do
className =? "MPlayer" --> doFloat,
className =? "Xfce4-notifyd" --> doIgnore,
className =? "popup-terminal" --> doShift "*" <> updatePopupTerminalHook,
+ className =? "spotify" --> doShift "s",
className =? "floating-terminal" --> doCenterFloat,
title =? "Event Tester" --> doFloat,
title =? "Notes" --> doCenterFloat,