xmonad: better tabs
This commit is contained in:
parent
4b6fbab46e
commit
57f84fadc1
1 changed files with 3 additions and 5 deletions
|
@ -43,7 +43,7 @@ import XMonad.Layout.ResizableTile (MirrorResize (MirrorExpand, M
|
|||
ResizableTall (..))
|
||||
import XMonad.Layout.Simplest (Simplest (..))
|
||||
import XMonad.Layout.Tabbed (TabbedDecoration, addTabs,
|
||||
addTabsAlways, shrinkText)
|
||||
shrinkText)
|
||||
import XMonad.Layout.WindowNavigation (configurableNavigation,
|
||||
noNavigateBorders)
|
||||
import XMonad.Prompt (XPConfig (..))
|
||||
|
@ -75,8 +75,6 @@ nonSelectionColor = Solarized.base02
|
|||
|
||||
-- http://hackage.haskell.org/package/xmonad-contrib-0.15/docs/XMonad-Layout-Tabbed.html#t:Theme
|
||||
myLayout = (windowConfiguration $ myTabbed $ mySubLayout $ boringWindows resizeableTall) ||| noBorders Full
|
||||
-- needed for rebuild sometimes
|
||||
-- myLayout = dwmStyle shrinkText def ( layoutHook def ) ||| noBorders Full
|
||||
where
|
||||
resizeableTall = ResizableTall nmaster delta ratio []
|
||||
-- The default number of windows in the master pane
|
||||
|
@ -88,11 +86,11 @@ myLayout = (windowConfiguration $ myTabbed $ mySubLayout $ boringWindows resize
|
|||
|
||||
windowConfiguration = configurableNavigation noNavigateBorders
|
||||
|
||||
myTabbed x = smartBorders $ addTabsAlways shrinkText tabDecoration x
|
||||
myTabbed x = smartBorders $ addTabs shrinkText windowDecoration x
|
||||
|
||||
mySubLayout = subLayout [] Simplest
|
||||
|
||||
tabDecoration = def { activeColor = selectionColor
|
||||
windowDecoration = def { activeColor = selectionColor
|
||||
, activeBorderColor = selectionColor
|
||||
, activeTextColor = Solarized.base03
|
||||
, inactiveColor = nonSelectionColor
|
||||
|
|
Loading…
Reference in a new issue