Seperate theme files, Xmobar major changes.

This commit is contained in:
ramazanemreosmanoglu 2022-10-26 10:59:51 +03:00
parent 1fcc67c8f2
commit f70f93141f
4 changed files with 48 additions and 28 deletions

View 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
}

View 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
}