Skip to content

Commit

Permalink
Update xmonad setup (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdalpra authored Aug 17, 2024
1 parent 3f59bc4 commit c0ea5c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions home/modules/wm/xmonad-config/lib/Workspaces.hs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ perso =
Workspace
{ name = "perso"
, workingDirectory = "~/Code/perso"
, runAtStartup = []
, runAtStartup = ["code", term]
}


Expand Down Expand Up @@ -141,18 +141,21 @@ workspacesLayout c =
. webLayout
. mailLayout
. chatLayout
. nixLayout
. workLayout
. persoLayout
$ layout
where
toggleFullScreen = mkToggle $ single NBFULL
dropSpacingLabel = renamed [CutWordsLeft 1]
layout = layoutHook def
codeLayout = Tall 1 (1 / 2) (2 / 3) ||| Full
webLayout = forWorkspace web (tabs ||| Full)
mailLayout = forWorkspace mail Full
chatLayout = forWorkspace chat (tabs ||| Full)
workLayout = forWorkspace work layout
persoLayout = forWorkspace perso layout
nixLayout = forWorkspace nix codeLayout
workLayout = forWorkspace work codeLayout
persoLayout = forWorkspace perso codeLayout
forWorkspace ws = onWorkspace (name ws)
tabs = renamed [CutWordsRight 1] $ tabbed shrinkText tabTheme
tabTheme =
Expand Down
6 changes: 3 additions & 3 deletions home/modules/wm/xmonad-config/xmonad-config.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ executable config

ghc-options: -Wall -Whi-shadowing -Wname-shadowing
build-depends:
, base ^>=4.17.0
, base ^>=4.18.0
, dbus ^>=1.2.0
, utf8-string ^>=1.0.0
, xmonad ^>=0.17.0
, xmonad-contrib ^>=0.17.0
, xmonad ^>=0.18.0
, xmonad-contrib ^>=0.18.0

0 comments on commit c0ea5c7

Please sign in to comment.