25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

57 satır
1.4 KiB

  1. HOME_PATH=~
  2. BIN_PATH=/usr/local/bin
  3. help:
  4. @echo " Available Actions:"
  5. @echo " install_user - builds & copies files into the user's home"
  6. @echo " install_system - builds & copies files into the system"
  7. @echo " fetch - copies files from the system into this build directory"
  8. @echo " help - this!"
  9. ###
  10. # INSTALL - USER
  11. ###
  12. install_user: install_user_sway install_user_waybar install_user_htop
  13. install_user_sway:
  14. mkdir -p $(HOME_PATH)/.config/sway/
  15. cp home/config/sway/* $(HOME_PATH)/.config/sway/config
  16. install_user_waybar:
  17. mkdir -p $(HOME_PATH)/.config/waybar/
  18. cp home/config/waybar/* $(HOME_PATH)/.config/waybar/
  19. install_user_htop:
  20. mkdir -p $(HOME_PATH)/.config/htop/
  21. cp home/config/htop/* $(HOME_PATH)/.config/htop/
  22. ###
  23. # INSTALL - SYSTEM
  24. ###
  25. install_system: install_system_check install_system_lightdm
  26. install_system_check:
  27. @echo "Note: install needs to be run as root."
  28. install_system_lightdm:
  29. cp usr/share/wayland-sessions/* /usr/share/wayland-sessions/
  30. ###
  31. # FETCH
  32. ###
  33. fetch: fetch_sway fetch_waybar fetch_htop fetch_lightdm
  34. fetch_sway:
  35. cp $(HOME_PATH)/.config/sway/config home/config/sway/config
  36. fetch_waybar:
  37. cp $(HOME_PATH)/.config/waybar/config* home/config/waybar/
  38. cp $(HOME_PATH)/.config/waybar/style.css home/config/waybar/
  39. fetch_htop:
  40. cp $(HOME_PATH)/.config/htop/htoprc home/config/htop/
  41. fetch_lightdm:
  42. cp /usr/share/wayland-sessions/sway.desktop usr/share/wayland-sessions/