unclechu / xmonadrc

my xmonad config
https://github.com/xmonad/xmonad
GNU General Public License v3.0
1 stars 0 forks source link
dbus dotfiles haskell xmobar xmonad

unclechu's xmonad/xmobar config

My own complex configs of xmonad and xmobar with some tools/scripts which helps to build and use it.

Parts

Usage

To build and install (to ~/.local/bin) everything just run:

make -B

But first time you need to add session files by this command:

make -B session

xmobar

To make xmobar works you need to run this command in your home directory:

stack install --resolver=lts-11.15 xmobar

So it will be installed to ~/.local/bin/xmobar.

P.S. You also able to add some customizations to produced xmobar config (produced by make -B xmobar command) by adding replacements blocks to ~/.xmonad/xmobar.replacements.hs, how these block may look like you could see in xmobar.replacements.hs.example file. This could be useful to use same generic config between different machines with different screens set (in my own case it's laptop and 3-screens PC).

xmonad

P.S. You also able to add some local customizations to xmonad config (as for xmobar) by adding ~/.xmonad/config.txt file which may look like this:

displays-order = 2,1,3
terminal = konsole
terminal-dark = konsole --profile dark
terminal-light = konsole --profile light
alternative-terminal-dark = termite-dark.sh
alternative-terminal-light = termite-light.sh
inactive-window-opacity = 0.7
inactive-window-opacity-only-for-current-workspace = yes
border-width = 1

For more details see this file.

Author

Viacheslav Lotsmanov

License

GPLv3