arch-config/3-post-reboot/xmonad.sh

14 lines
682 B
Bash
Raw Normal View History

2023-01-29 02:32:19 +00:00
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
~/.ghcup/bin/stack init
~/.ghcup/bin/stack install
2023-01-29 02:32:19 +00:00
git clone https://codeberg.org/xmobar/xmobar /home/afonso/.config/xmobar/xmobar-git/
cd /home/afonso/.config/xmobar/
~/.ghcup/bin/stack init
2023-01-29 02:32:19 +00:00
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
~/.ghcup/bin/stack install
2023-01-29 02:32:19 +00:00