Archlinux basic installation configuration scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

267 lines
7.7 KiB

  1. ;; ┌──────────────────────────────────────────────────────────────────────────────-----┐
  2. ;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │
  3. ;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │
  4. ;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │
  5. ;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  6. ;; └──────────────────────────────────────────────────────────────────────────────-----┘
  7. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  8. [module/updates]
  9. type = custom/script
  10. ; Available tokens:
  11. ; %counter%
  12. ; Command to be executed (using "/usr/bin/env sh -c [command]")
  13. exec = ~/.config/polybar/cuts/scripts/updates.sh
  14. ; Conditional command that, if defined, needs to exit successfully
  15. ; before the main exec command is invoked.
  16. ; Default: ""
  17. ;;exec-if = ""
  18. ; Will the script output continous content?
  19. ; Default: false
  20. tail = true
  21. ; Seconds to sleep between updates
  22. ; Default: 2 (0 if `tail = true`)
  23. interval = 5
  24. ; Available tags:
  25. ; <output> - deprecated
  26. ; <label> (default)
  27. format = <label>
  28. format-prefix =
  29. format-background = ${color.background}
  30. format-padding = 1
  31. ; Available tokens:
  32. ; %output%
  33. ; Default: %output%
  34. label = %output%
  35. ; Available tokens:
  36. ; %counter%
  37. ; %pid%
  38. ;
  39. ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]"
  40. click-left = exo-open --launch TerminalEmulator &
  41. click-right = exo-open --launch TerminalEmulator &
  42. ;;double-click-left = echo double left %counter%
  43. ;;double-click-middle = echo double middle %counter%
  44. ;;double-click-right = echo double right %counter%
  45. ; Available tokens:
  46. ; %counter%
  47. ; %pid%
  48. ;
  49. ; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]"
  50. ;;scroll-up = echo scroll up %counter%
  51. ;;scroll-down = echo scroll down %counter%
  52. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  53. [module/launcher]
  54. type = custom/text
  55. content =
  56. ; "content" has the same properties as "format-NAME"
  57. content-background = ${color.background}
  58. content-foreground = ${color.primary}
  59. content-padding = 1
  60. ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
  61. click-left = ~/.config/polybar/cuts/scripts/launcher.sh &
  62. ;;click-middle = ~/.config/polybar/cuts/scripts/launcher-full
  63. click-right = ~/.config/polybar/cuts/scripts/color-switch.sh &
  64. ; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
  65. ;;scroll-up = ~/.config/polybar/cuts/scripts/launcher.sh &
  66. ;;scroll-down = ~/.config/polybar/cuts/scripts/color-switch.sh &
  67. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  68. [module/sysmenu]
  69. type = custom/text
  70. content =
  71. content-background = ${color.background}
  72. content-foreground = ${color.primary}
  73. content-padding = 1
  74. click-left = ~/.config/polybar/cuts/scripts/powermenu.sh &
  75. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  76. [module/color-switch]
  77. type = custom/text
  78. content =
  79. content-background = ${color.background}
  80. content-foreground = ${color.foreground}
  81. content-padding = 1
  82. click-left = ~/.config/polybar/cuts/scripts/style-switch.sh &
  83. click-right = ~/.config/polybar/cuts/scripts/color-switch.sh &
  84. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  85. [module/apps]
  86. type = custom/text
  87. content-background = ${color.background}
  88. content-padding = 1
  89. [module/term]
  90. inherit = module/apps
  91. content =
  92. content-foreground = #fdd835
  93. click-left = termite &
  94. click-middle = urxvt &
  95. click-right = xfce4-terminal &
  96. [module/files]
  97. inherit = module/apps
  98. content-foreground = #1e88e5
  99. content =
  100. click-left = thunar &
  101. click-right = pcmanfm &
  102. [module/browser]
  103. inherit = module/apps
  104. content-foreground = #fb8c00
  105. content =
  106. click-left = firefox &
  107. click-right = chromium &
  108. [module/settings]
  109. inherit = module/apps
  110. content-foreground = #00897b
  111. content =
  112. click-left = xfce4-settings-manager &
  113. click-right = lxappearance &
  114. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  115. [module/powermenu]
  116. type = custom/menu
  117. ; If true, <label-toggle> will be to the left of the menu items (default).
  118. ; If false, it will be on the right of all the items.
  119. expand-right = true
  120. ; "menu-LEVEL-N" has the same properties as "label-NAME" with
  121. ; the additional "exec" property
  122. ;
  123. ; Available exec commands:
  124. ; menu-open-LEVEL
  125. ; menu-close
  126. ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
  127. menu-0-0 = reboot
  128. menu-0-0-exec = menu-open-1
  129. menu-0-1 = shutdown
  130. menu-0-1-exec = menu-open-2
  131. menu-1-0 = back
  132. menu-1-0-exec = menu-open-0
  133. menu-1-1 = reboot
  134. menu-1-1-exec = systemctl reboot
  135. menu-2-0 = shutdown
  136. menu-2-0-exec = systemctl poweroff
  137. menu-2-1 = back
  138. menu-2-1-exec = menu-open-0
  139. ; Available tags:
  140. ; <label-toggle> (default) - gets replaced with <label-(open|close)>
  141. ; <menu> (default)
  142. ; Note that if you use <label-toggle> you must also include
  143. ; the definition for <label-open>
  144. format = <label-toggle> <menu>
  145. format-background = ${color.background}
  146. format-padding = 1
  147. label-open =
  148. label-close =
  149. ; Optional item separator
  150. ; Default: none
  151. label-separator = " | "
  152. label-open-foreground = ${color.primary}
  153. label-close-foreground = ${color.primary}
  154. ;;label-separator-foreground = ${color.background}
  155. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  156. [module/menu]
  157. type = custom/menu
  158. ; If true, <label-toggle> will be to the left of the menu items (default).
  159. ; If false, it will be on the right of all the items.
  160. expand-right = true
  161. ; "menu-LEVEL-N" has the same properties as "label-NAME" with
  162. ; the additional "exec" property
  163. ;
  164. ; Available exec commands:
  165. ; menu-open-LEVEL
  166. ; menu-close
  167. ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
  168. menu-0-0 = Menu
  169. menu-0-0-exec = ~/.config/polybar/cuts/scripts/launcher.sh &
  170. menu-0-1 = Files
  171. menu-0-1-exec = thunar &
  172. menu-0-2 = Terminal
  173. menu-0-2-exec = termite &
  174. menu-0-3 = Browser
  175. menu-0-3-exec = firefox &
  176. ; Available tags:
  177. ; <label-toggle> (default) - gets replaced with <label-(open|close)>
  178. ; <menu> (default)
  179. ; Note that if you use <label-toggle> you must also include
  180. ; the definition for <label-open>
  181. format = <label-toggle> <menu>
  182. format-background = ${color.background}
  183. format-padding = 1
  184. label-open =
  185. label-close =
  186. ; Optional item separator
  187. ; Default: none
  188. label-separator = " | "
  189. label-open-foreground = ${color.primary}
  190. label-close-foreground = ${color.primary}
  191. ;;label-separator-foreground = ${color.background}
  192. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  193. [module/decor-glyph]
  194. type = custom/text
  195. content-background = ${color.background-alt}
  196. content-foreground = ${color.background}
  197. [module/decor1]
  198. inherit = module/decor-glyph
  199. content = "%{T3}%{T-}"
  200. [module/decor2]
  201. inherit = module/decor-glyph
  202. content = "%{T3}%{T-}"
  203. [module/decor3]
  204. inherit = module/decor-glyph
  205. content = "%{T3}%{T-}"
  206. [module/decor4]
  207. inherit = module/decor-glyph
  208. content = "%{T3}%{T-}"
  209. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_