1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

add keepassxc to autostart of xmonad

This commit is contained in:
Stefan Ellmauthaler 2023-05-12 10:58:28 +02:00
parent 4665fbc673
commit 41ab4d7698
Failed to extract signature

View File

@ -37,6 +37,41 @@ main' :: D.Client -> IO ()
main = mkDbusClient >>= main' main = mkDbusClient >>= main'
workSpaces = ["code", "web", "misc", "comm"] ++ map show ([5 .. 9] ++ [0]) workSpaces = ["code", "web", "misc", "comm"] ++ map show ([5 .. 9] ++ [0])
layout :: XMonad.Layout.LayoutModifier.ModifiedLayout
SmartBorder
(XMonad.Layout.LayoutModifier.ModifiedLayout
AvoidStruts
(PerWorkspace
(Choose
(XMonad.Layout.LayoutModifier.ModifiedLayout Rename ThreeCol)
(Choose
Tall
(Choose
(Mirror Tall)
(Choose
Grid
(Choose
Full
(XMonad.Layout.LayoutModifier.ModifiedLayout
(XMonad.Layout.Decoration.Decoration
TabbedDecoration XMonad.Layout.Decoration.DefaultShrinker)
XMonad.Layout.Simplest.Simplest))))))
(Choose
Tall
(Choose
(Mirror Tall)
(Choose
Grid
(Choose
Full
(Choose
(XMonad.Layout.LayoutModifier.ModifiedLayout
(XMonad.Layout.Decoration.Decoration
TabbedDecoration XMonad.Layout.Decoration.DefaultShrinker)
XMonad.Layout.Simplest.Simplest)
(XMonad.Layout.LayoutModifier.ModifiedLayout
Rename ThreeCol))))))))
Window
layout = smartBorders $ avoidStruts $ layout = smartBorders $ avoidStruts $
onWorkspace "comm" (threemid ||| tall ||| Mirror tall ||| Grid ||| Full ||| simpleTabbed) $ onWorkspace "comm" (threemid ||| tall ||| Mirror tall ||| Grid ||| Full ||| simpleTabbed) $
(tall ||| Mirror tall ||| Grid ||| Full ||| simpleTabbed ||| threemid) (tall ||| Mirror tall ||| Grid ||| Full ||| simpleTabbed ||| threemid)
@ -52,9 +87,10 @@ main' dbus = do
, modMask = mod4Mask -- rebind mod to super key , modMask = mod4Mask -- rebind mod to super key
, keys = keyMap , keys = keyMap
, manageHook = myHookManager , manageHook = myHookManager
, startupHook = do , startupHook = do -- autostart
startupHook def startupHook def
spawn "autorandr -c" spawn "autorandr -c"
spawn "keepassxc"
, workspaces = workSpaces , workspaces = workSpaces
} }