Add new doTile function, force tile VPN client
This commit is contained in:
parent
9b561492e8
commit
ae1da29574
2 changed files with 6 additions and 3 deletions
|
@ -59,7 +59,6 @@ projects = [ adminProject "wrk-config"
|
||||||
, justStartWithName "VPN" "gpclient"
|
, justStartWithName "VPN" "gpclient"
|
||||||
, spinChat "element"
|
, spinChat "element"
|
||||||
, spinChat "signal"
|
, spinChat "signal"
|
||||||
, spinChat "wire"
|
|
||||||
, spinInTerm "k9s"
|
, spinInTerm "k9s"
|
||||||
, spinInTermWithName "email" "neomutt"
|
, spinInTermWithName "email" "neomutt"
|
||||||
, spinTextEditorAndTerm "~/." "xmonad" -- Dark magic!
|
, spinTextEditorAndTerm "~/." "xmonad" -- Dark magic!
|
||||||
|
|
|
@ -19,6 +19,8 @@ import XMonad.Layout.Spacing
|
||||||
import XMonad.Layout.ThreeColumns (ThreeCol(..))
|
import XMonad.Layout.ThreeColumns (ThreeCol(..))
|
||||||
import XMonad.Layout.ToggleLayouts (toggleLayouts)
|
import XMonad.Layout.ToggleLayouts (toggleLayouts)
|
||||||
|
|
||||||
|
import XMonad.StackSet (sink)
|
||||||
|
|
||||||
import XMonad.Util.EZConfig
|
import XMonad.Util.EZConfig
|
||||||
import XMonad.Util.SpawnOnce
|
import XMonad.Util.SpawnOnce
|
||||||
import qualified Solarized as S
|
import qualified Solarized as S
|
||||||
|
@ -51,14 +53,16 @@ myManageHook = composeOne
|
||||||
, className =? "mpv" -?> doFullFloat <+> (doShift "flims")
|
, className =? "mpv" -?> doFullFloat <+> (doShift "flims")
|
||||||
, className =? "qemu-system-x86_64" -?> doFloat
|
, className =? "qemu-system-x86_64" -?> doFloat
|
||||||
, className =? "qutebrowser" -?> doShift "web"
|
, className =? "qutebrowser" -?> doShift "web"
|
||||||
, className =? "gpclient" -?> doShift "VPN"
|
, className =? "gpclient" -?> doTile <+> (doShift "VPN")
|
||||||
, isDialog -?> doCenterFloat
|
|
||||||
, isDialog -?> doCenterFloat
|
, isDialog -?> doCenterFloat
|
||||||
|
|
||||||
-- Move transient windows to their parent:
|
-- Move transient windows to their parent:
|
||||||
, transience
|
, transience
|
||||||
]
|
]
|
||||||
|
|
||||||
|
doTile :: ManageHook
|
||||||
|
doTile = ask >>= doF . sink
|
||||||
|
|
||||||
------------ build the full config
|
------------ build the full config
|
||||||
withConfig =
|
withConfig =
|
||||||
Projects.modify -- Apply projects config
|
Projects.modify -- Apply projects config
|
||||||
|
|
Loading…
Reference in a new issue