mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: copy float helper windows everywhere
This commit is contained in:
parent
c8dee130a6
commit
a27f5ffefe
1 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{-# LANGUAGE NegativeLiterals #-}
|
||||
|
||||
import XMonad
|
||||
import XMonad.Actions.CopyWindow
|
||||
import XMonad.Actions.Submap
|
||||
import XMonad.Actions.SwapWorkspaces
|
||||
import XMonad.Hooks.DynamicLog
|
||||
|
|
@ -99,8 +100,9 @@ isSignal = className =? "Signal"
|
|||
isElement :: Query Bool
|
||||
isElement = isFirefox <&&> title ~? "Element"
|
||||
|
||||
-- This changes depending on the locale of the browser :/
|
||||
isFirefoxPip :: Query Bool
|
||||
isFirefoxPip = isFirefox <&&> title =? "Picture-in-Picture"
|
||||
isFirefoxPip = isFirefox <&&> title =? "Incrustation vidéo"
|
||||
|
||||
isFeh :: Query Bool
|
||||
isFeh = className =? "feh"
|
||||
|
|
@ -133,9 +135,9 @@ myManageHook :: ManageHook
|
|||
myManageHook =
|
||||
composeAll
|
||||
[ isNautilusPreviewer --> customFloating centeredFloat
|
||||
, isFeh --> customFloating buttomRightFloat
|
||||
, isFeh --> doF copyToAll <> customFloating buttomRightFloat
|
||||
, isMinder --> customFloating centeredFloat
|
||||
, isFirefoxPip --> doFloat
|
||||
, isFirefoxPip --> doF copyToAll <> customFloating buttomRightFloat
|
||||
, isDiscord --> doShift chatWS
|
||||
, isEvolution --> doShift chatWS
|
||||
, isSignal --> doShift chatWS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue