mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-22 13:24:40 +01:00
workspace stuffs
This commit is contained in:
parent
021f8d9296
commit
3d277d9cce
|
@ -75,9 +75,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) =
|
|||
|
||||
-- TODO: figure out multi screen stuff, including xinerama
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Mouse bindings: default actions bound to mouse events
|
||||
--
|
||||
myMouseBindings (XConfig {XMonad.modMask = modm}) =
|
||||
M.fromList
|
||||
-- mod-button1, Set the window to floating mode and move by dragging
|
||||
|
@ -134,25 +132,14 @@ myLayout = avoidStruts $ autoChoose ||| threeCol ||| tiled ||| tabbed shrinkText
|
|||
-- Percent of screen to increment by when resizing panes
|
||||
delta = 3 / 100
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Window rules:
|
||||
|
||||
-- Execute arbitrary actions and WindowSet manipulations when managing
|
||||
-- a new window. You can use this to, for example, always float a
|
||||
-- particular program, or have a client always appear on a particular
|
||||
-- workspace.
|
||||
--
|
||||
-- To find the property name associated with a program, use
|
||||
-- > xprop | grep WM_CLASS
|
||||
-- and click on the client you're interested in.
|
||||
--
|
||||
-- To match on the WM_NAME, you can use 'title' in the same way that
|
||||
-- 'className' and 'resource' are used below.
|
||||
--
|
||||
myManageHook =
|
||||
composeAll
|
||||
[ className =? "MPlayer" --> doFloat,
|
||||
className =? "Gimp" --> doFloat,
|
||||
className =? "firefox" --> doShift "browser",
|
||||
className =? "Evolution" --> doShift "comms",
|
||||
className =? "Signal" --> doShift "comms",
|
||||
className =? "SchildiChat" --> doShift "comms",
|
||||
resource =? "desktop_window" --> doIgnore,
|
||||
resource =? "kdesktop" --> doIgnore
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue