https://github.com/phdenzel/xmobarconf
https://github.com/phdenzel/xmobarconf
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/phdenzel/xmobarconf
- Owner: phdenzel
- Created: 2022-01-12T17:41:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T21:17:25.000Z (almost 3 years ago)
- Last Synced: 2025-02-26T06:34:50.915Z (over 1 year ago)
- Language: Haskell
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+AUTHOR: phdenzel
#+TITLE: xmobarconf
#+OPTIONS: toc:nil
The problem: ~xmobar~'s configuration file is *not* (exactly) haskell
code! This makes defining variables, importing other modules, and
reusing code from ~xmonad~ configurations hard.
~xmobarconf~ is my solution. It is a haskell program in which xmobar
configurations can be written in pure haskell, and correctly exported.
Simply edit the ~XMobarConf.hs~ file (it can be copied over from your
old ~xmobarrc~ almost 1-to-1, just make sure to add ~$~ before every
~Run~ command) and make use of all of haskell's features.
*** Install
After editing the configurations, compile with
#+BEGIN_SRC shell
make
make install
#+END_SRC