arch-config/3-post-reboot/xmonad.sh
2023-01-29 03:03:00 +00:00

13 lines
630 B
Bash
Executable file

git clone https://github.com/xmonad/xmonad /home/afonso/.config/xmonad/xmonad-git
git clone https://github.com/xmonad/xmonad-contrib /home/afonso/.config/xmonad/xmonad-contrib-git
cd /home/afonso/.config/xmonad/ || exit
stack init
stack install
git clone https://codeberg.org/xmobar/xmobar /home/afonso/.config/xmobar/xmobar-git/
cd /home/afonso/.config/xmobar/
stack init
sed -i "s/# flags: {}/ flags:\n xmobar:\n all_extensions: true\n with_threaded: true/" /home/afonso/.config/xmobar/stack.yaml
sed -i "s/# extra-deps: \[\]/ extra-deps:\n - netlink-1.1.1.0/" /home/afonso/.config/xmobar/stack.yaml
stack install