1
0

install-systemd.sh 719 B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/bash
  2. set -x
  3. mkdir -p /etc/reform
  4. cp reformd.sh /etc/reform/
  5. cp status-bar.sh /etc/reform/
  6. cp reformd.service /etc/systemd/system/
  7. systemctl daemon-reload
  8. systemctl enable reformd.service
  9. systemctl start reformd.service
  10. cat << EOF
  11. To integrate reformd into i3bar, do the following steps:
  12. - Install py3status (sudo apt install py3status)
  13. - Adapt your i3 config to use py3status and /etc/reform/status-bar.sh:
  14. bar {
  15. status_command py3status -c ~/.config/i3status.conf
  16. }
  17. - Copy the i3status.conf from this directory to ~/.config/i3status.conf
  18. - Take a look at that file and adapt to your needs
  19. - Reload i3 (normally Mod+Shift+R)
  20. To follow reformd status output, use:
  21. - journalctl -fu reformd.service
  22. EOF