Last active
December 25, 2020 06:17
-
-
Save xvzftube/0b5d4fcdef77d557e4a99d3651f3a89e to your computer and use it in GitHub Desktop.
xmonad setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in debian session use the following commands then logout | |
sudo apt install xmonad libghc-xmonad-contrib-dev xterm dmenu | |
# get an xmonad.hs file | |
cd ~/.xmonad/ && wget http://code.haskell.org/xmonad/man/xmonad.hs && cd | |
cd /usr/share/fonts && sudo https://github.com/adobe-fonts/source-code-pro.git && cd && sudo fc-cache -fv | |
# install st and set font. If something goes wrong delete config.h and try again manually. | |
git clone https://git.suckless.org/st | |
cd st | |
sed -i '7 a static char *font = "Source Code Pro:pixelsize=18:antialias=true:autohint=true";' config.def.h | |
sed -i '9d' config.def.h | |
sudo make install | |
cd | |
# make st the default terminal for xmonad | |
sed -i '19 a myTerminal = "sh -c st"' ~/.xmonad/xmonad.hs | |
sed -i '21d' ~/.xmonad/xmonad.hs | |
# type ctrl-q for xmonad to use new terminal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment