This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/config.yaml

495 lines
13 KiB
YAML
Raw Normal View History

2020-10-08 21:31:32 +02:00
# _ _ _
# __| | ___ | |_ __| |_ __ ___ _ __
# / _` |/ _ \| __/ _` | '__/ _ \| '_ \
# | (_| | (_) | || (_| | | | (_) | |_) |
# \__,_|\___/ \__\__,_|_| \___/| .__/
# |_|
2020-12-03 03:45:40 +01:00
###############################################################
2020-10-10 05:14:55 +02:00
variables:
2020-12-03 03:45:40 +01:00
###############################################################
2021-04-20 00:26:58 +02:00
username: lelgenio
2021-10-29 05:19:46 +02:00
shell: fish
2021-04-20 00:26:58 +02:00
editor: kak
2021-10-29 05:19:46 +02:00
cursor_size: 24
2021-04-20 00:26:58 +02:00
tabs: false
indent_width: 4
key_layout: colemak
launcher: bmenu
terminal: alacritty
file_manager: thunar
bar: waybar
bar_pos: top
tmux: false
2021-09-09 20:32:48 +02:00
starship: false
2021-06-27 23:42:54 +02:00
supervisor: runit
2021-04-20 00:26:58 +02:00
accent_fg: '#ffffff'
font:
2021-07-05 18:52:06 +02:00
mono: Hack Nerd Font
2021-12-08 06:03:04 +01:00
interface: Liberation Sans
2021-04-20 00:26:58 +02:00
size:
small: 12
medium: 14
big: 16
mail:
personal:
user: lelgenio
mail: disroot.org
work:
2021-06-15 07:02:38 +02:00
user: leonardo@wopus.com.br
2021-04-20 00:26:58 +02:00
mail: wopus.com.br
2021-03-02 06:01:31 +01:00
2021-06-23 06:49:38 +02:00
2020-12-03 03:45:40 +01:00
###############################################################
2020-10-25 22:10:20 +01:00
profiles:
2020-12-03 03:45:40 +01:00
###############################################################
2021-04-20 00:26:58 +02:00
dark:
variables:
background: ~/.local/share/backgrounds/assembly_dark.png
opacity: 0.98
color:
type: dark
bg: '#202020'
bg_light: '#404040'
bg_dark: '#191919'
txt: '#FFFFFF'
nontxt: '#252525'
normal:
black: '#404040'
red: '#AB4642'
green: '#A1B56C'
yellow: '#E6C547'
blue: '#6C99DA'
magenta: '#C397D8'
cyan: '#70C0BA'
white: '#EAEAEA'
#non standard
orange: '#FF7500'
brown: '#A07040'
light:
variables:
background: ~/.local/share/backgrounds/assembly_light.png
2021-10-28 20:01:20 +02:00
opacity: 0.98
2021-04-20 00:26:58 +02:00
color:
type: light
2021-10-28 20:01:20 +02:00
bg: '#FFFFFF'
2021-04-20 20:06:11 +02:00
bg_light: '#A0A0A0'
2021-10-28 20:01:20 +02:00
bg_dark: '#EEEEEE'
2021-04-20 00:26:58 +02:00
txt: '#303030'
2021-04-20 20:06:11 +02:00
nontxt: '#D0D0D0'
2021-04-20 00:26:58 +02:00
normal:
black: '#555555'
red: '#D54E53'
green: '#008800'
yellow: '#B3A400'
blue: '#0D68A8'
magenta: '#C397D8'
cyan: '#00A0A5'
white: '#999999'
#non standard
orange: '#FF7500'
brown: '#A07040'
2021-03-09 23:47:59 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
2021-06-15 07:05:10 +02:00
# Accents
2020-12-03 03:45:40 +01:00
###############################################################
2020-11-10 21:46:50 +01:00
2021-10-29 02:56:39 +02:00
accent_red: {variables: {accent_color: "#F44336"}}
2021-04-20 00:26:58 +02:00
accent_green: {variables: {accent_color: "#159828"}}
accent_blue: {variables: {accent_color: "#3465A3"}}
accent_pink: {variables: {accent_color: "#E91E63"}}
accent_teal: {variables: {accent_color: "#16A085"}}
accent_magenta: {variables: {accent_color: "#9C27B0"}}
accent_orange: {variables: {accent_color: "#D93200"}}
2020-10-25 22:10:20 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
# Keyboard Layouts
###############################################################
2021-04-20 00:26:58 +02:00
colemak:
variables:
key:
layout: colemak
2021-06-15 06:41:32 +02:00
hints: arstwfuyneio
2021-04-20 00:26:58 +02:00
left: n
down: e
up: i
right: o
next: l
tabL: U
tabR: Y
insertMode: s
insertQuit: kk
qwerty:
variables:
key:
layout: qwerty
2021-06-15 06:41:32 +02:00
hints: asdfwejklçio
2021-04-20 00:26:58 +02:00
left: h
down: j
up: k
right: l
next: l
tabL: I
tabR: O
insertMode: i
insertQuit: jj
2020-11-10 21:46:50 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
# Main profile
###############################################################
2021-04-20 00:26:58 +02:00
main:
variables:
2021-10-29 02:56:39 +02:00
# gtk_theme: "Mint-Y{{@@ '-Dark' if color.type == 'dark' else '' @@}}-{{@@ accent_color_name.capitalize() @@}}"
gtk_theme: "Orchis-{{@@ accent_color_name.lower() @@}}-{{@@ 'dark' if color.type == 'dark' else 'light' @@}}"
2021-04-20 00:26:58 +02:00
kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}"
2021-06-15 07:05:10 +02:00
# icon_theme: "Mint-Y-{{@@ 'Dark' if color.type == 'dark' else 'Darker' @@}}-{{@@ accent_color_name.capitalize() @@}}"
2021-04-20 00:26:58 +02:00
icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
2021-12-08 04:06:42 +01:00
cursor_theme: "Breeze_Obsidian"
# cursor_theme: "Breeze_Snow"
# cursor_theme: "capitaine-cursors"
2021-04-20 00:26:58 +02:00
dotfiles:
- ALL
include:
- "{{@@ key_layout @@}}"
- "{{@@ color_type @@}}"
- "accent_{{@@ accent_color_name @@}}"
2020-11-10 21:46:50 +01:00
2020-10-25 22:10:20 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
config:
###############################################################
2021-04-20 00:26:58 +02:00
backup: false
banner: false
keepdot: false
link_dotfile_default: nolink
link_on_import: nolink
longkey: false
default_actions:
- notify
func_file:
- funcs.py
filter_file:
- funcs.py
2020-12-03 03:45:40 +01:00
###############################################################
2020-10-22 17:09:42 +02:00
dynvariables:
2020-12-03 03:45:40 +01:00
###############################################################
2021-04-20 00:26:58 +02:00
color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark
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
2021-06-23 08:17:54 +02:00
deezer_arl: pass show Entertainment/Deezer | awk '/^arl:/ {print $2}'
2021-06-26 16:56:34 +02:00
main_password: _pass_get "{{@@ mail.personal.mail @@}}" | base64
2020-12-03 03:45:40 +01:00
###############################################################
actions:
###############################################################
2021-04-20 00:26:58 +02:00
notify: >
test -n "$DISPLAY" &&
notify-send --app-name=dotdrop
"Updating dotfiles"
"{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}" ||
true
2021-02-14 19:28:22 +01:00
2021-04-20 00:26:58 +02:00
reload_sway: swaymsg reload & disown
reload_mako: pkill -SIGHUP mako
reload_waybar: env SVDIR=$HOME/.config/runit/sv sv hup waybar
reload_xsettingsd: env SVDIR=$HOME/.config/runit/sv sv hup xsettingsd
2021-10-29 05:19:46 +02:00
groups_install: _groups_install
2021-04-20 00:26:58 +02:00
lesskey: lesskey
reload_fish: pkill -SIGHUP fish
2021-12-11 00:24:06 +01:00
dotdrop_completions: |
comp_path="$HOME/.config/fish/completions/dotdrop.fish"
comp_url="https://raw.githubusercontent.com/deadc0de6/dotdrop/master/completion/dotdrop.fish"
if ! test -f "$comp_path"; then
wget -qO "$comp_path" "$comp_url" ||
rm "$comp_path"
fi
2021-02-14 19:28:22 +01:00
2021-04-20 00:26:58 +02:00
reload_qutebrowser: qutemsg config-source & disown
2021-03-31 19:01:13 +02:00
2021-04-20 00:26:58 +02:00
vimplug: >
nvim +PlugUpgrade +PlugInstall +PlugUpdate +qall
2021-12-08 06:03:04 +01:00
> /dev/null &
2021-02-14 19:28:22 +01:00
2021-04-20 00:26:58 +02:00
reload_kakoune: >
kak -l | xargs -r -n1
kak -e "config-source;quit" -ui dummy -c &
2021-04-16 06:51:47 +02:00
2021-04-20 00:26:58 +02:00
crontab_install: |
crontab -r
crontab ~/.local/share/crontab
2021-02-14 19:28:22 +01:00
2021-04-20 00:26:58 +02:00
vdirsyncer: |
yes | vdirsyncer discover & disown
2021-02-14 19:28:22 +01:00
2021-04-20 00:26:58 +02:00
lnMail: |
ln -fs ~/.config/neomutt/mbsyncrc ~/.mbsyncrc
ln -fs ~/.config/neomutt/urlview ~/.urlview
2021-02-14 19:28:22 +01:00
2021-04-20 00:26:58 +02:00
ranger_icons:
git clone
https://github.com/alexanderjeurissen/ranger_devicons
~/.config/ranger/plugins/ranger_devicons
2021-02-14 19:28:22 +01:00
2021-06-27 23:42:54 +02:00
start_services: >
_runit_config "{{@@ _dotfile_abs_dst @@}}"
2021-12-08 00:50:53 +01:00
fusuma gammastep mako xsettingsd mpd mpDris2 telegram pipewire
pipewire-media-session xdpw pulseaudio kdeconnectd kdeconnect-indicator
kanshi swayidle waybar syncthing udiskie
2021-03-23 15:57:28 +01:00
2021-04-20 00:26:58 +02:00
# bootstrap scripts
pam_gpg: _pam-gpg-strap
make_theme: _make_theme
install_meta: install_meta
2021-06-25 06:50:18 +02:00
install_mpv: _mpv_install
filter_backgrounds: _backgrouds_filter
2020-12-03 03:45:40 +01:00
###############################################################
dotfiles: # Just a bunch of paths and action mappings
###############################################################
2021-04-20 00:26:58 +02:00
###############################################################
# Regular programs
###############################################################
sway:
src: sway
dst: ~/.config/sway
actions:
- reload_sway
i3:
src: i3
dst: ~/.config/i3
fish:
src: fish
dst: ~/.config/fish
actions:
2021-12-11 00:24:06 +01:00
- dotdrop_completions
2021-04-20 00:26:58 +02:00
- reload_fish
2021-09-09 20:32:48 +02:00
starship:
src: starship.toml
dst: ~/.config/starship.toml
git:
src: git
dst: ~/.config/git
2021-04-20 00:26:58 +02:00
mako:
src: mako.conf
dst: ~/.config/mako/config
actions:
- reload_mako
waybar:
src: waybar
dst: ~/.config/waybar
actions:
- reload_waybar
2021-04-20 00:26:58 +02:00
kitty:
src: kitty.conf
dst: ~/.config/kitty/kitty.conf
actions:
- reload_fish
nvim:
src: nvim.vim
dst: ~/.config/nvim/init.vim
actions:
- vimplug
kakoune:
src: kak
dst: ~/.config/kak
actions:
- reload_kakoune
mutt:
src: neomutt/
dst: ~/.config/neomutt/
actions:
- lnMail
qutebrowser:
src: qutebrowser
dst: ~/.config/qutebrowser
actions:
- reload_qutebrowser
lesskey:
src: lesskey
dst: ~/.lesskey
actions:
- lesskey
ranger:
src: ranger
dst: ~/.config/ranger
actions:
- ranger_icons
2021-06-21 19:15:42 +02:00
thunar:
src: thunar
dst: ~/.config/Thunar
2021-04-20 00:26:58 +02:00
mpv:
src: mpv.conf
dst: ~/.config/mpv/mpv.conf
actions:
2021-06-25 06:50:18 +02:00
- install_mpv
2021-04-20 00:26:58 +02:00
dav:
src: dav/
dst: ~/.config
actions:
- vdirsyncer
tmux:
src: tmux.conf
dst: ~/.tmux.conf
###############################################################
# Other
###############################################################
scripts:
src: scripts
dst: ~/.local/bin
actions:
- make_theme
2021-10-29 05:19:46 +02:00
- groups_install
2021-04-20 00:26:58 +02:00
2021-06-27 23:42:54 +02:00
services:
src: runit_sv
dst: ~/.config/runit/sv
actions:
- start_services
2021-06-23 08:17:54 +02:00
deemix:
src: deemix
dst: ~/.config/deemix
2021-04-20 00:26:58 +02:00
backgrounds:
src: backgrounds
dst: ~/.local/share/backgrounds/
actions:
- filter_backgrounds
fonts:
src: fonts
dst: ~/.local/share/fonts/
mime:
src: mime/
dst: ~/
crontab:
src: crontab
dst: ~/.local/share/crontab
actions:
- crontab_install
theme:
src: theme
dst: ~/
actions:
- reload_xsettingsd
2021-04-20 00:26:58 +02:00
prettierrc:
src: prettierrc.toml
dst: ~/.prettierrc.toml
clang-format:
src: clang-format
dst: ~/.clang-format
2021-06-17 08:39:11 +02:00
mypy:
src: mypy
dst: ~/.config/mypy/config
2021-04-20 00:26:58 +02:00
gpg-agent:
src: gpg-agent.conf
dst: ~/.gnupg/gpg-agent.conf
actions:
- pam_gpg
packages:
src: meta.PKGBUILD
dst: ~/.local/share/metapkg/PKGBUILD
actions:
- install_meta
kak-lsp:
src: kak-lsp.toml
dst: ~/.config/kak-lsp/kak-lsp.toml
rustfmt:
src: rustfmt.toml
dst: ~/.rustfmt.toml
###############################################################
# Big pahts
###############################################################
code-oss:
src: vscode.jsonc
dst: "~/.config/Code - OSS/User/settings.json"
telegram-theme:
src: ./telegram.palette
dst: ~/.local/share/TelegramDesktop/theme.tdesktop-palette
blender:
"src": blenderTheme.xml
"dst": "~/.config/blender/scripts/presets/interface_theme/blenderTheme.xml"
2021-04-20 00:26:58 +02:00
firefox:
src: firefox
dst: "~/.mozilla/firefox/{{@@ firefox_profile @@}}/"
###############################################################
# .config/, no actions
###############################################################
2021-06-23 06:45:55 +02:00
alacritty: { "src":"alacritty.yml", "dst":"~/.config/alacritty.yml" }
bat: { "src":"bat", "dst":"~/.config/bat/config" }
2021-09-04 05:54:33 +02:00
foot: { "src": "foot.ini", "dst": "~/.config/foot/foot.ini" }
2021-06-23 06:45:55 +02:00
fusuma: { "src":"fusuma.yml", "dst":"~/.config/fusuma/config.yml" }
imv: { "src":"imv.conf", "dst":"~/.config/imv/config" }
kanshi: { "src":"kanshi", "dst":"~/.config/kanshi/config" }
mpd: { "src":"mpd.conf", "dst":"~/.config/mpd/mpd.conf" }
paru: { "src":"paru.conf", "dst":"~/.config/paru/paru.conf" }
pqivrc: { "src":"pqiv.ini", "dst":"~/.config/pqivrc" }
rclone: { "src":"rclone.conf", "dst":"~/.config/rclone/rclone.conf" }
swaylock: { "src":"sway/swaylock", "dst":"~/.config/swaylock/config" }
wofi: { "src":"wofi", "dst":"~/.config/wofi" }
xdpw: { "src":"xdpw.ini", "dst":"~/.config/xdg-desktop-portal-wlr/config" }
zathura: { "src":"zathura.conf", "dst":"~/.config/zathura/zathurarc" }