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.
 
 
 
 

326 lines
6.7 KiB

  1. # _ _ _
  2. # __| | ___ | |_ __| |_ __ ___ _ __
  3. # / _` |/ _ \| __/ _` | '__/ _ \| '_ \
  4. # | (_| | (_) | || (_| | | | (_) | |_) |
  5. # \__,_|\___/ \__\__,_|_| \___/| .__/
  6. # |_|
  7. variables:
  8. username: lelgenio
  9. mail: disroot.org
  10. cursor_size: 24
  11. editor: kak
  12. key_layout: colemak
  13. launcher: bmenu
  14. terminal: kitty
  15. file_manager: thunar
  16. bar: waybar
  17. bar_pos: top
  18. font:
  19. mono: FiraCode Nerd Font
  20. interface: Inter
  21. size:
  22. small: 12
  23. medium: 14
  24. big: 16
  25. profiles:
  26. dark: # {{{
  27. variables:
  28. opacity: 0.98
  29. color:
  30. type: dark
  31. bg: '#202020'
  32. bg_light: '#404040'
  33. bg_dark: '#191919'
  34. txt: '#FFFFFF'
  35. nontxt: '#252525'
  36. normal:
  37. black: '#404040'
  38. red: '#AB4642'
  39. green: '#A1B56C'
  40. yellow: '#E6C547'
  41. blue: '#6C99DA'
  42. magenta: '#C397D8'
  43. cyan: '#70C0BA'
  44. white: '#EAEAEA'
  45. # }}}
  46. light: # {{{
  47. variables:
  48. opacity: 0.95
  49. color:
  50. type: light
  51. bg: '#FAFAFA'
  52. bg_light: '#A0A0A0'
  53. bg_dark: '#EAEAEA'
  54. txt: '#303030'
  55. nontxt: '#F0F0F0'
  56. normal:
  57. black: '#555555'
  58. red: '#D54E53'
  59. green: '#008800'
  60. yellow: '#DBB704'
  61. blue: '#0D68A8'
  62. magenta: '#C397D8'
  63. cyan: '#00A0A5'
  64. white: '#FFFFFF'
  65. # }}}
  66. # Accents {{{
  67. accent_red: {variables: {accent_color: "#D9534F"}}
  68. accent_green: {variables: {accent_color: "#159828"}}
  69. accent_blue: {variables: {accent_color: "#3465A3"}}
  70. accent_pink: {variables: {accent_color: "#E91E63"}}
  71. accent_teal: {variables: {accent_color: "#16A085"}}
  72. accent_magenta: {variables: {accent_color: "#9C27B0"}}
  73. accent_orange: {variables: {accent_color: "#D93200"}}
  74. # }}}
  75. colemak: #{{{
  76. variables:
  77. key:
  78. layout: colemak
  79. left: n
  80. down: e
  81. up: i
  82. right: o
  83. next: l
  84. tabL: U
  85. tabR: Y
  86. insertMode: s
  87. insertQuit: kk
  88. #}}}
  89. qwerty: #{{{
  90. variables:
  91. key:
  92. layout: qwerty
  93. left: h
  94. down: j
  95. up: k
  96. right: l
  97. next: l
  98. tabL: I
  99. tabR: O
  100. insertMode: i
  101. insertQuit: jj
  102. #}}}
  103. main: #{{{
  104. variables:
  105. gtk_theme: "materia-{{@@ env['USER'] @@}}-{{@@ accent_color_name @@}}-{{@@ color.type @@}}"
  106. kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}"
  107. icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
  108. cursor_theme: "capitaine-cursors{{@@ '-light' if color.type == 'light' @@}}"
  109. dotfiles:
  110. - ALL
  111. include:
  112. - "{{@@ key_layout @@}}"
  113. - "{{@@ color_type @@}}"
  114. - "accent_{{@@ accent_color_name @@}}"
  115. #}}}
  116. config: # {{{
  117. backup: false
  118. banner: false
  119. keepdot: false
  120. link_dotfile_default: nolink
  121. link_on_import: nolink
  122. longkey: false
  123. default_actions:
  124. - notify
  125. func_file:
  126. - funcs.py
  127. dynvariables:
  128. color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark
  129. accent_color_name: test -n "$_ACCENT_COLOR" && echo "$_ACCENT_COLOR" || echo red
  130. blender_version: blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g'
  131. # }}}
  132. dotfiles: # {{{
  133. nvim:
  134. src: nvim.vim
  135. dst: ~/.config/nvim/init.vim
  136. actions:
  137. - vimplug
  138. sway:
  139. src: sway
  140. dst: ~/.config/sway
  141. actions:
  142. - reload_sway
  143. fish:
  144. src: fish
  145. dst: ~/.config/fish
  146. actions:
  147. - reload_fish
  148. mako:
  149. src: mako.conf
  150. dst: ~/.config/mako/config
  151. actions:
  152. - reload_mako
  153. waybar:
  154. src: waybar
  155. dst: ~/.config/waybar
  156. actions:
  157. - reload_sway
  158. kitty:
  159. src: kitty.conf
  160. dst: ~/.config/kitty/kitty.conf
  161. actions:
  162. - reload_fish
  163. qutebrowser:
  164. src: qutebrowser
  165. dst: ~/.config/qutebrowser
  166. lesskey:
  167. src: lesskey
  168. dst: ~/.lesskey
  169. actions:
  170. - lesskey
  171. scripts:
  172. src: scripts
  173. dst: ~/.local/bin
  174. actions:
  175. - make_theme
  176. wofi:
  177. src: wofi
  178. dst: ~/.config/wofi
  179. ranger:
  180. src: ranger
  181. dst: ~/.config/ranger
  182. actions:
  183. - ranger_icons
  184. zathura:
  185. src: zathura.conf
  186. dst: ~/.config/zathura/zathurarc
  187. wallpapers:
  188. src: wallpapers
  189. dst: ~/.local/share/wallpapers
  190. mime:
  191. src: mime/
  192. dst: ~/
  193. fusuma:
  194. src: fusuma.yml
  195. dst: ~/.config/fusuma/config.yml
  196. alacritty:
  197. src: alacritty.yml
  198. dst: ~/.config/alacritty.yml
  199. mpd:
  200. src: mpd.conf
  201. dst: ~/.config/mpd/mpd.conf
  202. dav:
  203. src: dav/
  204. dst: ~/.config
  205. actions:
  206. - vdirsyncer
  207. rclone:
  208. src: rclone.conf
  209. dst: ~/.config/rclone/rclone.conf
  210. mutt:
  211. src: neomutt/
  212. dst: ~/.config/neomutt/
  213. actions:
  214. - lnMail
  215. crontab:
  216. src: crontab
  217. dst: ~/.local/share/crontab
  218. actions:
  219. - crontab_install
  220. theme:
  221. src: theme
  222. dst: ~/
  223. kanshi:
  224. src: kanshi
  225. dst: ~/.config/kanshi/config
  226. imv:
  227. src: imv.conf
  228. dst: ~/.config/imv/config
  229. mpv:
  230. src: mpv.conf
  231. dst: ~/.config/mpv/mpv.conf
  232. actions:
  233. - sponsorblock
  234. blender:
  235. src: blenderTheme.xml
  236. dst: "~/.config/blender/{{@@ blender_version @@}}/scripts/presets/interface_theme/blenderTheme.xml"
  237. clang-format:
  238. src: clang-format
  239. dst: ~/.clang-format
  240. gpg-agent:
  241. src: gpg-agent.conf
  242. dst: ~/.gnupg/gpg-agent.conf
  243. actions:
  244. - pam_gpg
  245. tmux:
  246. src: tmux.conf
  247. dst: ~/.tmux.conf
  248. git:
  249. src: gitconfig
  250. dst: ~/.config/git/config
  251. telegram-theme:
  252. src: ./telegram.palette
  253. dst: ~/.local/share/TelegramDesktop/theme.tdesktop-palette
  254. kakoune:
  255. src: kak
  256. dst: ~/.config/kak
  257. packages:
  258. src: metaPKGBUILD
  259. dst: ~/.local/share/metapkg/PKGBUILD
  260. actions:
  261. - install_meta
  262. bat:
  263. src: bat
  264. dst: ~/.config/bat/config
  265. # }}}
  266. actions: #{{{
  267. notify: notify-send "Updating dotfiles" "{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}"
  268. reload_mako: makoctl reload
  269. lesskey: lesskey
  270. reload_sway: swaymsg reload &>/dev/null & disown
  271. reload_fish: pkill -SIGHUP fish
  272. vimplug: >
  273. nvim
  274. +PlugUpgrade
  275. +PlugInstall
  276. +PlugUpdate
  277. +qall
  278. &> /dev/null
  279. & disown
  280. crontab_install: |
  281. crontab -r
  282. crontab ~/.local/share/crontab
  283. vdirsyncer: |
  284. yes | vdirsyncer discover & disown
  285. lnMail: |
  286. ln -fs ~/.config/neomutt/mbsyncrc ~/.mbsyncrc
  287. ln -fs ~/.config/neomutt/urlview ~/.urlview
  288. sponsorblock: >
  289. test -d ~/.config/mpv/scripts/sponsorblock_shared ||
  290. git clone
  291. https://github.com/po5/mpv_sponsorblock
  292. ~/.config/mpv/scripts;
  293. rm -f
  294. ~/.config/mpv/scripts/LICENSE
  295. ~/.config/mpv/scripts/README.md
  296. ranger_icons:
  297. git clone
  298. https://github.com/alexanderjeurissen/ranger_devicons
  299. ~/.config/ranger/plugins/ranger_devicons
  300. pam_gpg: _pam-gpg-strap
  301. make_theme:
  302. ~/.local/bin/_make_theme
  303. install_meta:
  304. ~/.local/bin/install_meta
  305. # }}}
  306. # vim: fdm=marker