Seperate theme files, Xmobar major changes.
This commit is contained in:
parent
1fcc67c8f2
commit
f70f93141f
4 changed files with 48 additions and 28 deletions
17
.config/xmonad/lib/NaturalGreenTheme.hs
Normal file
17
.config/xmonad/lib/NaturalGreenTheme.hs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module NaturalGreenTheme (naturalGreenTheme) where
|
||||
import Theme (Theme(..))
|
||||
import XMonad.Hooks.StatusBar.PP
|
||||
|
||||
naturalGreenXmobarPP :: PP
|
||||
naturalGreenXmobarPP = def
|
||||
{ ppSep = " • "
|
||||
}
|
||||
|
||||
naturalGreenTheme :: Theme
|
||||
naturalGreenTheme = Theme { themeName = "Natural Green"
|
||||
, themeBarConfig = "~/.config/xmobar/natural-green-xmobarrc"
|
||||
, themeBorderColor = "#425F57"
|
||||
, themeFocusedBorderColor = "#749F82"
|
||||
, themeWallpaper = "~/Wallpapers/wp-hs.png"
|
||||
, themeXmobarPP = naturalGreenXmobarPP
|
||||
}
|
||||
10
.config/xmonad/lib/Theme.hs
Normal file
10
.config/xmonad/lib/Theme.hs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module Theme ( Theme(..) ) where
|
||||
import XMonad.Hooks.StatusBar.PP
|
||||
|
||||
data Theme = Theme { themeName :: String
|
||||
, themeBarConfig :: String
|
||||
, themeBorderColor :: String
|
||||
, themeFocusedBorderColor :: String
|
||||
, themeWallpaper :: String
|
||||
, themeXmobarPP :: PP
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue