summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-02-28 21:09:55 +0100
committertv <tv@krebsco.de>2021-02-28 21:14:03 +0100
commit532c4750e8aebf5b178ebe5c24d86205e9814398 (patch)
tree4959d4fe5024d1f8ee5d474f0759c4eb2009a38f
parent8b79b685ede85753700ba422bc9a9aac38981ce4 (diff)
tv xmonad: doFloatCenter if appName ~ /Float/
-rw-r--r--tv/5pkgs/haskell/xmonad-tv/src/main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tv/5pkgs/haskell/xmonad-tv/src/main.hs b/tv/5pkgs/haskell/xmonad-tv/src/main.hs
index 177f313..c93a947 100644
--- a/tv/5pkgs/haskell/xmonad-tv/src/main.hs
+++ b/tv/5pkgs/haskell/xmonad-tv/src/main.hs
@@ -88,6 +88,7 @@ mainNoArgs = do
composeAll
[ appName =? "fzmenu-urxvt" --> doCenterFloat
, appName =?? Data.List.isPrefixOf "pinentry" --> doCenterFloat
+ , appName =?? Data.List.isInfixOf "Float" --> doCenterFloat
, title =? "Upload to Imgur" -->
doRectFloat (W.RationalRect 0 0 (1 % 8) (1 % 8))
, placeHook (smart (1,0))