From f3e07bdac8d42dfe4941e2a2daa51b19dc3b092e Mon Sep 17 00:00:00 2001 From: sajenim Date: Sat, 29 Apr 2023 10:52:43 +0800 Subject: [PATCH] remove xmobar-bottom --- pkgs/xmobar-config/src/xmobar-bottom.hs | 40 ------------------------- pkgs/xmobar-config/xmobar-config.cabal | 7 ----- 2 files changed, 47 deletions(-) delete mode 100644 pkgs/xmobar-config/src/xmobar-bottom.hs diff --git a/pkgs/xmobar-config/src/xmobar-bottom.hs b/pkgs/xmobar-config/src/xmobar-bottom.hs deleted file mode 100644 index 5d1262f..0000000 --- a/pkgs/xmobar-config/src/xmobar-bottom.hs +++ /dev/null @@ -1,40 +0,0 @@ -import Xmobar - --- | Configuration -config :: Config -config = defaultConfig - -- general settings - { font = "Fira Code Semi Bold 9" - , additionalFonts = [ "Symbols Nerd Font 2048-em 24" ] - , bgColor = bg1 - , fgColor = fg0 - , position = Static { xpos = 1920, ypos = 1056, width = 2560, height = 24 } - -- commands to run - , commands = [ ] - -- format our bar - , sepChar = "%" - , alignSep = "}{" - , template = "}{" - } - --- | Gruvbox material -bg0, bg1, fg0, fg1, red, orange, yellow, green, aqua, blue, purple :: String --- backgrounds -bg0 = "#1d2021" -bg1 = "#282828" --- foregrounds -fg0 = "#d4be98" -fg1 = "#ddc7a1" --- greys -grey0 = "#7c6f64" --- colors -red = "#ea6962" -orange = "#e78a4e" -yellow = "#d8a658" -green = "#a9b665" -aqua = "#89b482" -blue = "#7daea3" -purple = "#d3869b" - -main :: IO () -main = configFromArgs config >>= xmobar diff --git a/pkgs/xmobar-config/xmobar-config.cabal b/pkgs/xmobar-config/xmobar-config.cabal index cfb0ddd..034e834 100644 --- a/pkgs/xmobar-config/xmobar-config.cabal +++ b/pkgs/xmobar-config/xmobar-config.cabal @@ -15,10 +15,3 @@ executable xmobar-top xmobar default-language: Haskell2010 -executable xmobar-bottom - main-is: xmobar-bottom.hs - hs-source-dirs: src - ghc-options: -Wall -threaded - build-depends: base, - xmobar - default-language: Haskell2010