reindent config

This commit is contained in:
lelgenio 2021-04-19 19:26:58 -03:00
parent 93154c2bc1
commit 6ac196e2d7
1 changed files with 338 additions and 338 deletions

View File

@ -9,448 +9,448 @@
variables: variables:
############################################################### ###############################################################
username: lelgenio username: lelgenio
cursor_size: 24 cursor_size: 24
editor: kak editor: kak
tabs: false tabs: false
indent_width: 4 indent_width: 4
key_layout: colemak key_layout: colemak
launcher: bmenu launcher: bmenu
terminal: alacritty terminal: alacritty
file_manager: thunar file_manager: thunar
bar: waybar bar: waybar
bar_pos: top bar_pos: top
tmux: false tmux: false
accent_fg: '#ffffff' accent_fg: '#ffffff'
font: font:
mono: Hack mono: Hack
interface: Inter interface: Inter
size: size:
small: 12 small: 12
medium: 14 medium: 14
big: 16 big: 16
mail: mail:
personal: personal:
user: lelgenio user: lelgenio
mail: disroot.org mail: disroot.org
work: work:
user: leonardo user: leonardo
mail: wopus.com.br mail: wopus.com.br
############################################################### ###############################################################
profiles: profiles:
############################################################### ###############################################################
dark: dark:
variables: variables:
background: ~/.local/share/backgrounds/assembly_dark.png background: ~/.local/share/backgrounds/assembly_dark.png
opacity: 0.98 opacity: 0.98
color: color:
type: dark type: dark
bg: '#202020' bg: '#202020'
bg_light: '#404040' bg_light: '#404040'
bg_dark: '#191919' bg_dark: '#191919'
txt: '#FFFFFF' txt: '#FFFFFF'
nontxt: '#252525' nontxt: '#252525'
normal: normal:
black: '#404040' black: '#404040'
red: '#AB4642' red: '#AB4642'
green: '#A1B56C' green: '#A1B56C'
yellow: '#E6C547' yellow: '#E6C547'
blue: '#6C99DA' blue: '#6C99DA'
magenta: '#C397D8' magenta: '#C397D8'
cyan: '#70C0BA' cyan: '#70C0BA'
white: '#EAEAEA' white: '#EAEAEA'
#non standard #non standard
orange: '#FF7500' orange: '#FF7500'
brown: '#A07040' brown: '#A07040'
light: light:
variables: variables:
background: ~/.local/share/backgrounds/assembly_light.png background: ~/.local/share/backgrounds/assembly_light.png
opacity: 0.95 opacity: 0.95
color: color:
type: light type: light
bg: '#EEEEEE' bg: '#EEEEEE'
bg_light: '#B0B0B0' bg_light: '#B0B0B0'
bg_dark: '#E0E0E0' bg_dark: '#E0E0E0'
txt: '#303030' txt: '#303030'
nontxt: '#CCCCCC' nontxt: '#CCCCCC'
normal: normal:
black: '#555555' black: '#555555'
red: '#D54E53' red: '#D54E53'
green: '#008800' green: '#008800'
yellow: '#B3A400' yellow: '#B3A400'
blue: '#0D68A8' blue: '#0D68A8'
magenta: '#C397D8' magenta: '#C397D8'
cyan: '#00A0A5' cyan: '#00A0A5'
white: '#999999' white: '#999999'
#non standard #non standard
orange: '#FF7500' orange: '#FF7500'
brown: '#A07040' brown: '#A07040'
############################################################### ###############################################################
# Accents {{{ # Accents {{{
############################################################### ###############################################################
accent_red: {variables: {accent_color: "#D9534F"}} accent_red: {variables: {accent_color: "#D9534F"}}
accent_green: {variables: {accent_color: "#159828"}} accent_green: {variables: {accent_color: "#159828"}}
accent_blue: {variables: {accent_color: "#3465A3"}} accent_blue: {variables: {accent_color: "#3465A3"}}
accent_pink: {variables: {accent_color: "#E91E63"}} accent_pink: {variables: {accent_color: "#E91E63"}}
accent_teal: {variables: {accent_color: "#16A085"}} accent_teal: {variables: {accent_color: "#16A085"}}
accent_magenta: {variables: {accent_color: "#9C27B0"}} accent_magenta: {variables: {accent_color: "#9C27B0"}}
accent_orange: {variables: {accent_color: "#D93200"}} accent_orange: {variables: {accent_color: "#D93200"}}
############################################################### ###############################################################
# Keyboard Layouts # Keyboard Layouts
############################################################### ###############################################################
colemak: colemak:
variables: variables:
key: key:
layout: colemak layout: colemak
left: n left: n
down: e down: e
up: i up: i
right: o right: o
next: l next: l
tabL: U tabL: U
tabR: Y tabR: Y
insertMode: s insertMode: s
insertQuit: kk insertQuit: kk
qwerty: qwerty:
variables: variables:
key: key:
layout: qwerty layout: qwerty
left: h left: h
down: j down: j
up: k up: k
right: l right: l
next: l next: l
tabL: I tabL: I
tabR: O tabR: O
insertMode: i insertMode: i
insertQuit: jj insertQuit: jj
############################################################### ###############################################################
# Main profile # Main profile
############################################################### ###############################################################
main: main:
variables: variables:
gtk_theme: "materia-{{@@ env['USER'] @@}}-{{@@ accent_color_name @@}}-{{@@ color.type @@}}" gtk_theme: "materia-{{@@ env['USER'] @@}}-{{@@ accent_color_name @@}}-{{@@ color.type @@}}"
kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}" kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}"
icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}" icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
cursor_theme: "capitaine-cursors{{@@ '-light' if color.type == 'light' @@}}" cursor_theme: "capitaine-cursors{{@@ '-light' if color.type == 'light' @@}}"
dotfiles: dotfiles:
- ALL - ALL
include: include:
- "{{@@ key_layout @@}}" - "{{@@ key_layout @@}}"
- "{{@@ color_type @@}}" - "{{@@ color_type @@}}"
- "accent_{{@@ accent_color_name @@}}" - "accent_{{@@ accent_color_name @@}}"
############################################################### ###############################################################
config: config:
############################################################### ###############################################################
backup: false backup: false
banner: false banner: false
keepdot: false keepdot: false
link_dotfile_default: nolink link_dotfile_default: nolink
link_on_import: nolink link_on_import: nolink
longkey: false longkey: false
default_actions: default_actions:
- notify - notify
func_file: func_file:
- funcs.py - funcs.py
filter_file: filter_file:
- funcs.py - funcs.py
############################################################### ###############################################################
dynvariables: dynvariables:
############################################################### ###############################################################
color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark
accent_color_name: test -n "$_ACCENT_COLOR" && echo "$_ACCENT_COLOR" || echo red accent_color_name: test -n "$_ACCENT_COLOR" && echo "$_ACCENT_COLOR" || echo red
firefox_profile: cat ~/.mozilla/firefox/profiles.ini | grep '^Default' | head -n1 | cut -d= -f2 firefox_profile: cat ~/.mozilla/firefox/profiles.ini | grep '^Default' | head -n1 | cut -d= -f2
blender_version: | blender_version: |
pacman -Qi blender | grep "^Version" | cut -d: -f3 | cut -d. -f1-2 || pacman -Qi blender | grep "^Version" | cut -d: -f3 | cut -d. -f1-2 ||
blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g' blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g'
############################################################### ###############################################################
actions: actions:
############################################################### ###############################################################
notify: > notify: >
test -n "$DISPLAY" && test -n "$DISPLAY" &&
notify-send --app-name=dotdrop notify-send --app-name=dotdrop
"Updating dotfiles" "Updating dotfiles"
"{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}" || "{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}" ||
true true
reload_sway: swaymsg reload & disown reload_sway: swaymsg reload & disown
reload_mako: pkill -SIGHUP mako reload_mako: pkill -SIGHUP mako
lesskey: lesskey lesskey: lesskey
reload_fish: pkill -SIGHUP fish reload_fish: pkill -SIGHUP fish
reload_qutebrowser: qutemsg config-source & disown reload_qutebrowser: qutemsg config-source & disown
vimplug: > vimplug: >
nvim +PlugUpgrade +PlugInstall +PlugUpdate +qall nvim +PlugUpgrade +PlugInstall +PlugUpdate +qall
&> /dev/null & &> /dev/null &
reload_kakoune: > reload_kakoune: >
kak -l | xargs -r -n1 kak -l | xargs -r -n1
kak -e "config-source;quit" -ui dummy -c & kak -e "config-source;quit" -ui dummy -c &
crontab_install: | crontab_install: |
crontab -r crontab -r
crontab ~/.local/share/crontab crontab ~/.local/share/crontab
vdirsyncer: | vdirsyncer: |
yes | vdirsyncer discover & disown yes | vdirsyncer discover & disown
lnMail: | lnMail: |
ln -fs ~/.config/neomutt/mbsyncrc ~/.mbsyncrc ln -fs ~/.config/neomutt/mbsyncrc ~/.mbsyncrc
ln -fs ~/.config/neomutt/urlview ~/.urlview ln -fs ~/.config/neomutt/urlview ~/.urlview
sponsorblock: > sponsorblock: >
test -d ~/.config/mpv/scripts/sponsorblock_shared || test -d ~/.config/mpv/scripts/sponsorblock_shared ||
git clone git clone
https://github.com/po5/mpv_sponsorblock https://github.com/po5/mpv_sponsorblock
~/.config/mpv/scripts; ~/.config/mpv/scripts;
rm -f rm -f
~/.config/mpv/scripts/LICENSE ~/.config/mpv/scripts/LICENSE
~/.config/mpv/scripts/README.md ~/.config/mpv/scripts/README.md
ranger_icons: ranger_icons:
git clone git clone
https://github.com/alexanderjeurissen/ranger_devicons https://github.com/alexanderjeurissen/ranger_devicons
~/.config/ranger/plugins/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
greetd_install: | greetd_install: |
sudo mkdir -p /etc/greetd/ sudo mkdir -p /etc/greetd/
sudo cp -r "{{@@ _dotfile_abs_dst @@}}"/* /etc/greetd/ sudo cp -r "{{@@ _dotfile_abs_dst @@}}"/* /etc/greetd/
sudo chown -R greeter:greeter /etc/greetd/ sudo chown -R greeter:greeter /etc/greetd/
# bootstrap scripts # bootstrap scripts
pam_gpg: _pam-gpg-strap pam_gpg: _pam-gpg-strap
make_theme: _make_theme make_theme: _make_theme
install_meta: install_meta install_meta: install_meta
filter_backgrounds: _filter_backgrounds filter_backgrounds: _filter_backgrounds
############################################################### ###############################################################
dotfiles: # Just a bunch of paths and action mappings dotfiles: # Just a bunch of paths and action mappings
############################################################### ###############################################################
############################################################### ###############################################################
# Regular programs # Regular programs
############################################################### ###############################################################
sway: sway:
src: sway src: sway
dst: ~/.config/sway dst: ~/.config/sway
actions: actions:
- reload_sway - reload_sway
i3: i3:
src: i3 src: i3
dst: ~/.config/i3 dst: ~/.config/i3
fish: fish:
src: fish src: fish
dst: ~/.config/fish dst: ~/.config/fish
actions: actions:
- reload_fish - reload_fish
mako: mako:
src: mako.conf src: mako.conf
dst: ~/.config/mako/config dst: ~/.config/mako/config
actions: actions:
- reload_mako - reload_mako
waybar: waybar:
src: waybar src: waybar
dst: ~/.config/waybar dst: ~/.config/waybar
kitty: kitty:
src: kitty.conf src: kitty.conf
dst: ~/.config/kitty/kitty.conf dst: ~/.config/kitty/kitty.conf
actions: actions:
- reload_fish - reload_fish
nvim: nvim:
src: nvim.vim src: nvim.vim
dst: ~/.config/nvim/init.vim dst: ~/.config/nvim/init.vim
actions: actions:
- vimplug - vimplug
kakoune: kakoune:
src: kak src: kak
dst: ~/.config/kak dst: ~/.config/kak
actions: actions:
- reload_kakoune - reload_kakoune
mutt: mutt:
src: neomutt/ src: neomutt/
dst: ~/.config/neomutt/ dst: ~/.config/neomutt/
actions: actions:
- lnMail - lnMail
qutebrowser: qutebrowser:
src: qutebrowser src: qutebrowser
dst: ~/.config/qutebrowser dst: ~/.config/qutebrowser
actions: actions:
- reload_qutebrowser - reload_qutebrowser
lesskey: lesskey:
src: lesskey src: lesskey
dst: ~/.lesskey dst: ~/.lesskey
actions: actions:
- lesskey - lesskey
ranger: ranger:
src: ranger src: ranger
dst: ~/.config/ranger dst: ~/.config/ranger
actions: actions:
- ranger_icons - ranger_icons
mpv: mpv:
src: mpv.conf src: mpv.conf
dst: ~/.config/mpv/mpv.conf dst: ~/.config/mpv/mpv.conf
actions: actions:
- sponsorblock - sponsorblock
dav: dav:
src: dav/ src: dav/
dst: ~/.config dst: ~/.config
actions: actions:
- vdirsyncer - vdirsyncer
tmux: tmux:
src: tmux.conf src: tmux.conf
dst: ~/.tmux.conf dst: ~/.tmux.conf
############################################################### ###############################################################
# Other # Other
############################################################### ###############################################################
scripts: scripts:
src: scripts src: scripts
dst: ~/.local/bin dst: ~/.local/bin
actions: actions:
- make_theme - make_theme
backgrounds: backgrounds:
src: backgrounds src: backgrounds
dst: ~/.local/share/backgrounds/ dst: ~/.local/share/backgrounds/
actions: actions:
- filter_backgrounds - filter_backgrounds
fonts: fonts:
src: fonts src: fonts
dst: ~/.local/share/fonts/ dst: ~/.local/share/fonts/
mime: mime:
src: mime/ src: mime/
dst: ~/ dst: ~/
crontab: crontab:
src: crontab src: crontab
dst: ~/.local/share/crontab dst: ~/.local/share/crontab
actions: actions:
- crontab_install - crontab_install
theme: theme:
src: theme src: theme
dst: ~/ dst: ~/
prettierrc: prettierrc:
src: prettierrc.toml src: prettierrc.toml
dst: ~/.prettierrc.toml dst: ~/.prettierrc.toml
clang-format: clang-format:
src: clang-format src: clang-format
dst: ~/.clang-format dst: ~/.clang-format
gpg-agent: gpg-agent:
src: gpg-agent.conf src: gpg-agent.conf
dst: ~/.gnupg/gpg-agent.conf dst: ~/.gnupg/gpg-agent.conf
actions: actions:
- pam_gpg - pam_gpg
packages: packages:
src: meta.PKGBUILD src: meta.PKGBUILD
dst: ~/.local/share/metapkg/PKGBUILD dst: ~/.local/share/metapkg/PKGBUILD
actions: actions:
- install_meta - install_meta
kak-lsp: kak-lsp:
src: kak-lsp.toml src: kak-lsp.toml
dst: ~/.config/kak-lsp/kak-lsp.toml dst: ~/.config/kak-lsp/kak-lsp.toml
rustfmt: rustfmt:
src: rustfmt.toml src: rustfmt.toml
dst: ~/.rustfmt.toml dst: ~/.rustfmt.toml
greetd: greetd:
src: greetd src: greetd
dst: ~/.config/greetd dst: ~/.config/greetd
actions: actions:
- greetd_install - greetd_install
############################################################### ###############################################################
# Big pahts # Big pahts
############################################################### ###############################################################
code-oss: code-oss:
src: vscode.jsonc src: vscode.jsonc
dst: "~/.config/Code - OSS/User/settings.json" dst: "~/.config/Code - OSS/User/settings.json"
telegram-theme: telegram-theme:
src: ./telegram.palette src: ./telegram.palette
dst: ~/.local/share/TelegramDesktop/theme.tdesktop-palette dst: ~/.local/share/TelegramDesktop/theme.tdesktop-palette
blender: blender:
"src": blenderTheme.xml "src": blenderTheme.xml
"dst": "~/.config/blender/{{@@ blender_version @@}}/scripts/presets/interface_theme/blenderTheme.xml" "dst": "~/.config/blender/{{@@ blender_version @@}}/scripts/presets/interface_theme/blenderTheme.xml"
firefox: firefox:
src: firefox src: firefox
dst: "~/.mozilla/firefox/{{@@ firefox_profile @@}}/" dst: "~/.mozilla/firefox/{{@@ firefox_profile @@}}/"
############################################################### ###############################################################
# .config/, no actions # .config/, no actions
############################################################### ###############################################################
alacritty: { "src":"alacritty.yml", "dst":"~/.config/alacritty.yml" } alacritty: { "src":"alacritty.yml", "dst":"~/.config/alacritty.yml" }
bat: { "src":"bat", "dst":"~/.config/bat/config" } bat: { "src":"bat", "dst":"~/.config/bat/config" }
fusuma: { "src":"fusuma.yml", "dst":"~/.config/fusuma/config.yml" } fusuma: { "src":"fusuma.yml", "dst":"~/.config/fusuma/config.yml" }
git: { "src":"git", "dst":"~/.config/git" } git: { "src":"git", "dst":"~/.config/git" }
imv: { "src":"imv.conf", "dst":"~/.config/imv/config" } imv: { "src":"imv.conf", "dst":"~/.config/imv/config" }
kanshi: { "src":"kanshi", "dst":"~/.config/kanshi/config" } kanshi: { "src":"kanshi", "dst":"~/.config/kanshi/config" }
mpd: { "src":"mpd.conf", "dst":"~/.config/mpd/mpd.conf" } mpd: { "src":"mpd.conf", "dst":"~/.config/mpd/mpd.conf" }
pqivrc: { "src":"pqiv.ini", "dst":"~/.config/pqivrc" } pqivrc: { "src":"pqiv.ini", "dst":"~/.config/pqivrc" }
rclone: { "src":"rclone.conf", "dst":"~/.config/rclone/rclone.conf" } rclone: { "src":"rclone.conf", "dst":"~/.config/rclone/rclone.conf" }
swaylock: { "src":"sway/swaylock", "dst":"~/.config/swaylock/config" } swaylock: { "src":"sway/swaylock", "dst":"~/.config/swaylock/config" }
wofi: { "src":"wofi", "dst":"~/.config/wofi" } wofi: { "src":"wofi", "dst":"~/.config/wofi" }
zathura: { "src":"zathura.conf", "dst":"~/.config/zathura/zathurarc" } zathura: { "src":"zathura.conf", "dst":"~/.config/zathura/zathurarc" }