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.

233 lines
6.9 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/docky/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. ; Available tokens:
  30. ; %output%
  31. ; Default: %output%
  32. label = %output%
  33. ; Available tokens:
  34. ; %counter%
  35. ; %pid%
  36. ;
  37. ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]"
  38. click-left = exo-open --launch TerminalEmulator &
  39. click-right = exo-open --launch TerminalEmulator &
  40. ;;double-click-left = echo double left %counter%
  41. ;;double-click-middle = echo double middle %counter%
  42. ;;double-click-right = echo double right %counter%
  43. ; Available tokens:
  44. ; %counter%
  45. ; %pid%
  46. ;
  47. ; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]"
  48. ;;scroll-up = echo scroll up %counter%
  49. ;;scroll-down = echo scroll down %counter%
  50. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  51. [module/launcher]
  52. type = custom/text
  53. content =
  54. ; "content" has the same properties as "format-NAME"
  55. content-background = ${color.primary}
  56. content-foreground = ${color.module-fg}
  57. content-padding = 2
  58. ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
  59. click-left = ~/.config/polybar/docky/scripts/launcher.sh &
  60. ;;click-middle = ~/.config/polybar/docky/scripts/launcher-full
  61. click-right = ~/.config/polybar/docky/scripts/color-switch.sh &
  62. ; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
  63. ;;scroll-up = ~/.config/polybar/docky/scripts/launcher.sh &
  64. ;;scroll-down = ~/.config/polybar/docky/scripts/color-switch.sh &
  65. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  66. [module/sysmenu]
  67. type = custom/text
  68. content =
  69. content-background = ${color.primary}
  70. content-foreground = ${color.module-fg}
  71. content-padding = 2
  72. click-left = ~/.config/polybar/docky/scripts/powermenu.sh &
  73. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  74. [module/color-switch]
  75. type = custom/text
  76. content =
  77. content-background = ${color.background}
  78. content-foreground = ${color.foreground}
  79. click-left = ~/.config/polybar/docky/scripts/color-switch.sh &
  80. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  81. [module/apps]
  82. type = custom/text
  83. content-foreground = ${color.foreground-alt}
  84. content-padding = 1
  85. [module/term]
  86. inherit = module/apps
  87. content =
  88. click-left = termite &
  89. click-middle = urxvt &
  90. click-right = xfce4-terminal &
  91. [module/files]
  92. inherit = module/apps
  93. content =
  94. click-left = thunar &
  95. click-right = pcmanfm &
  96. [module/browser]
  97. inherit = module/apps
  98. content =
  99. click-left = firefox &
  100. click-right = chromium &
  101. [module/settings]
  102. inherit = module/apps
  103. content =
  104. click-left = xfce4-settings-manager &
  105. click-right = lxappearance &
  106. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  107. [module/powermenu]
  108. type = custom/menu
  109. ; If true, <label-toggle> will be to the left of the menu items (default).
  110. ; If false, it will be on the right of all the items.
  111. expand-right = true
  112. ; "menu-LEVEL-N" has the same properties as "label-NAME" with
  113. ; the additional "exec" property
  114. ;
  115. ; Available exec commands:
  116. ; menu-open-LEVEL
  117. ; menu-close
  118. ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
  119. menu-0-0 = reboot
  120. menu-0-0-exec = menu-open-1
  121. menu-0-1 = shutdown
  122. menu-0-1-exec = menu-open-2
  123. menu-1-0 = back
  124. menu-1-0-exec = menu-open-0
  125. menu-1-1 = reboot
  126. menu-1-1-exec = systemctl reboot
  127. menu-2-0 = shutdown
  128. menu-2-0-exec = systemctl poweroff
  129. menu-2-1 = back
  130. menu-2-1-exec = menu-open-0
  131. ; Available tags:
  132. ; <label-toggle> (default) - gets replaced with <label-(open|close)>
  133. ; <menu> (default)
  134. ; Note that if you use <label-toggle> you must also include
  135. ; the definition for <label-open>
  136. format = <label-toggle> <menu>
  137. format-background = ${color.primary}
  138. format-foreground = ${color.module-fg}
  139. format-padding = 2
  140. label-open =
  141. label-close =
  142. ; Optional item separator
  143. ; Default: none
  144. label-separator = " | "
  145. ;;label-open-foreground = ${color.foreground}
  146. ;;label-close-foreground = ${color.background}
  147. ;;label-separator-foreground = ${color.background}
  148. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  149. [module/menu]
  150. type = custom/menu
  151. ; If true, <label-toggle> will be to the left of the menu items (default).
  152. ; If false, it will be on the right of all the items.
  153. expand-right = true
  154. ; "menu-LEVEL-N" has the same properties as "label-NAME" with
  155. ; the additional "exec" property
  156. ;
  157. ; Available exec commands:
  158. ; menu-open-LEVEL
  159. ; menu-close
  160. ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
  161. menu-0-0 = Menu
  162. menu-0-0-exec = ~/.config/polybar/docky/scripts/launcher.sh &
  163. menu-0-1 = Files
  164. menu-0-1-exec = thunar &
  165. menu-0-2 = Terminal
  166. menu-0-2-exec = termite &
  167. menu-0-3 = Browser
  168. menu-0-3-exec = firefox &
  169. ; Available tags:
  170. ; <label-toggle> (default) - gets replaced with <label-(open|close)>
  171. ; <menu> (default)
  172. ; Note that if you use <label-toggle> you must also include
  173. ; the definition for <label-open>
  174. format = <label-toggle> <menu>
  175. format-background = ${color.primary}
  176. format-foreground = ${color.module-fg}
  177. format-padding = 2
  178. label-open =
  179. label-close =
  180. ; Optional item separator
  181. ; Default: none
  182. label-separator = " | "
  183. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_