mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +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 #-}
|
{-# LANGUAGE NegativeLiterals #-}
|
||||||
|
|
||||||
import XMonad
|
import XMonad
|
||||||
|
import XMonad.Actions.CopyWindow
|
||||||
import XMonad.Actions.Submap
|
import XMonad.Actions.Submap
|
||||||
import XMonad.Actions.SwapWorkspaces
|
import XMonad.Actions.SwapWorkspaces
|
||||||
import XMonad.Hooks.DynamicLog
|
import XMonad.Hooks.DynamicLog
|
||||||
|
|
@ -99,8 +100,9 @@ isSignal = className =? "Signal"
|
||||||
isElement :: Query Bool
|
isElement :: Query Bool
|
||||||
isElement = isFirefox <&&> title ~? "Element"
|
isElement = isFirefox <&&> title ~? "Element"
|
||||||
|
|
||||||
|
-- This changes depending on the locale of the browser :/
|
||||||
isFirefoxPip :: Query Bool
|
isFirefoxPip :: Query Bool
|
||||||
isFirefoxPip = isFirefox <&&> title =? "Picture-in-Picture"
|
isFirefoxPip = isFirefox <&&> title =? "Incrustation vidéo"
|
||||||
|
|
||||||
isFeh :: Query Bool
|
isFeh :: Query Bool
|
||||||
isFeh = className =? "feh"
|
isFeh = className =? "feh"
|
||||||
|
|
@ -133,9 +135,9 @@ myManageHook :: ManageHook
|
||||||
myManageHook =
|
myManageHook =
|
||||||
composeAll
|
composeAll
|
||||||
[ isNautilusPreviewer --> customFloating centeredFloat
|
[ isNautilusPreviewer --> customFloating centeredFloat
|
||||||
, isFeh --> customFloating buttomRightFloat
|
, isFeh --> doF copyToAll <> customFloating buttomRightFloat
|
||||||
, isMinder --> customFloating centeredFloat
|
, isMinder --> customFloating centeredFloat
|
||||||
, isFirefoxPip --> doFloat
|
, isFirefoxPip --> doF copyToAll <> customFloating buttomRightFloat
|
||||||
, isDiscord --> doShift chatWS
|
, isDiscord --> doShift chatWS
|
||||||
, isEvolution --> doShift chatWS
|
, isEvolution --> doShift chatWS
|
||||||
, isSignal --> doShift chatWS
|
, isSignal --> doShift chatWS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue