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

387 lines
9.0 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
###############################################################
username: lelgenio
mail: disroot.org
2020-10-16 07:11:27 +02:00
cursor_size: 24
2020-11-28 06:38:41 +01:00
editor: kak
2020-12-07 02:10:51 +01:00
tabs: true
2020-11-28 06:38:41 +01:00
key_layout: colemak
2020-11-29 20:21:08 +01:00
launcher: bmenu
2020-12-07 02:12:47 +01:00
terminal: alacritty
2020-11-23 22:28:07 +01:00
file_manager: thunar
2020-10-16 07:11:27 +02:00
bar: waybar
bar_pos: top
2020-12-07 02:06:08 +01:00
tmux: false
2020-11-10 21:46:50 +01:00
2020-10-10 05:14:55 +02:00
font:
2020-12-07 02:12:47 +01:00
mono: Hack
2020-10-10 05:14:55 +02:00
interface: Inter
2020-10-27 06:59:47 +01:00
size:
small: 12
medium: 14
big: 16
2020-10-25 22:10:20 +01: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
###############################################################
dark:
2020-10-16 07:11:27 +02:00
variables:
2020-10-27 06:04:34 +01:00
opacity: 0.98
2020-11-10 21:46:50 +01:00
2020-10-22 17:09:42 +02:00
color:
2020-10-16 07:11:27 +02:00
type: dark
bg: '#202020'
bg_light: '#404040'
bg_dark: '#191919'
2020-11-10 21:46:50 +01:00
txt: '#FFFFFF'
2020-10-16 07:11:27 +02:00
nontxt: '#252525'
2020-11-10 21:46:50 +01:00
2020-10-16 07:11:27 +02:00
normal:
2020-11-10 04:33:29 +01:00
black: '#404040'
2020-10-22 22:50:08 +02:00
red: '#AB4642'
green: '#A1B56C'
2020-10-16 07:11:27 +02:00
yellow: '#E6C547'
2020-10-21 05:38:54 +02:00
blue: '#6C99DA'
magenta: '#C397D8'
2020-10-16 07:11:27 +02:00
cyan: '#70C0BA'
white: '#EAEAEA'
2020-11-11 02:27:03 +01:00
2020-12-03 03:45:40 +01:00
light:
2020-10-16 07:11:27 +02:00
variables:
2020-10-27 06:04:34 +01:00
opacity: 0.95
2020-11-10 21:46:50 +01:00
2020-10-22 17:09:42 +02:00
color:
2020-10-16 07:11:27 +02:00
type: light
2020-11-10 21:46:50 +01:00
bg: '#FAFAFA'
2020-10-16 07:11:27 +02:00
bg_light: '#A0A0A0'
2020-11-28 22:05:03 +01:00
bg_dark: '#EAEAEA'
2020-10-21 06:05:06 +02:00
txt: '#303030'
2020-12-03 03:44:47 +01:00
nontxt: '#E0E0E0'
2020-11-10 21:46:50 +01:00
2020-10-16 07:11:27 +02:00
normal:
black: '#555555'
red: '#D54E53'
green: '#008800'
2020-11-10 21:46:50 +01:00
yellow: '#DBB704'
2020-10-21 04:48:52 +02:00
blue: '#0D68A8'
2020-10-16 07:11:27 +02:00
magenta: '#C397D8'
2020-10-22 18:00:54 +02:00
cyan: '#00A0A5'
2020-10-22 19:58:42 +02:00
white: '#FFFFFF'
2020-11-10 21:46:50 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
2020-10-25 22:10:20 +01:00
# Accents {{{
2020-12-03 03:45:40 +01:00
###############################################################
2020-11-10 21:46:50 +01:00
2020-10-25 22:10:20 +01:00
accent_red: {variables: {accent_color: "#D9534F"}}
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"}}
2020-10-25 22:44:31 +01:00
accent_orange: {variables: {accent_color: "#D93200"}}
2020-10-25 22:10:20 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
# Keyboard Layouts
###############################################################
colemak:
2020-10-22 17:09:42 +02:00
variables:
key:
layout: colemak
left: n
down: e
up: i
right: o
next: l
tabL: U
tabR: Y
insertMode: s
insertQuit: kk
2020-11-10 21:46:50 +01:00
2020-12-03 03:45:40 +01:00
qwerty:
2020-10-22 17:09:42 +02:00
variables:
key:
layout: qwerty
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
###############################################################
main:
2020-10-25 22:28:48 +01:00
variables:
gtk_theme: "materia-{{@@ env['USER'] @@}}-{{@@ accent_color_name @@}}-{{@@ color.type @@}}"
kvantum_theme: "Materia{{@@ color.type.capitalize() @@}}"
icon_theme: "Papirus-{{@@ color.type.capitalize() @@}}"
cursor_theme: "capitaine-cursors{{@@ '-light' if color.type == 'light' @@}}"
2020-10-16 07:11:27 +02:00
dotfiles:
- ALL
2020-10-22 17:09:42 +02:00
include:
- "{{@@ key_layout @@}}"
- "{{@@ color_type @@}}"
2020-10-25 22:10:20 +01:00
- "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:
###############################################################
2020-10-08 21:31:32 +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
2020-12-03 03:45:40 +01:00
filter_file:
- funcs.py
###############################################################
2020-10-22 17:09:42 +02:00
dynvariables:
2020-12-03 03:45:40 +01:00
###############################################################
2020-10-22 17:09:42 +02:00
color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark
2020-10-25 22:10:20 +01:00
accent_color_name: test -n "$_ACCENT_COLOR" && echo "$_ACCENT_COLOR" || echo red
2020-10-23 08:22:04 +02:00
blender_version: blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g'
2020-12-03 03:45:40 +01:00
###############################################################
actions:
###############################################################
notify: >
notify-send
"Updating dotfiles"
"{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}"
reload_mako: makoctl reload
lesskey: lesskey
reload_fish: pkill -SIGHUP fish
vimplug: >
nvim
+PlugUpgrade
+PlugInstall
+PlugUpdate
+qall
&> /dev/null
& disown
crontab_install: |
crontab -r
crontab ~/.local/share/crontab
vdirsyncer: |
yes | vdirsyncer discover & disown
lnMail: |
ln -fs ~/.config/neomutt/mbsyncrc ~/.mbsyncrc
ln -fs ~/.config/neomutt/urlview ~/.urlview
sponsorblock: >
test -d ~/.config/mpv/scripts/sponsorblock_shared ||
git clone
https://github.com/po5/mpv_sponsorblock
~/.config/mpv/scripts;
rm -f
~/.config/mpv/scripts/LICENSE
~/.config/mpv/scripts/README.md
ranger_icons:
git clone
https://github.com/alexanderjeurissen/ranger_devicons
~/.config/ranger/plugins/ranger_devicons
# bootstrap scripts
pam_gpg: _pam-gpg-strap
make_theme: _make_theme
install_meta: install_meta
post:
# by having it be the last thing to run
# and quickly disowning,
# we can make it run only once
reload_sway: >
pidof swaymsg &>/dev/null ||
swaymsg reload &
disown
###############################################################
dotfiles: # Just a bunch of paths and action mappings
###############################################################
###############################################################
# Regular programs
###############################################################
2020-06-23 16:52:48 +02:00
sway:
2020-12-01 20:10:22 +01:00
src: sway
dst: ~/.config/sway
2020-06-23 22:09:22 +02:00
actions:
2020-09-20 02:33:48 +02:00
- reload_sway
2020-12-03 03:45:40 +01:00
2020-06-23 16:52:48 +02:00
fish:
2020-11-28 18:25:23 +01:00
src: fish
dst: ~/.config/fish
2020-10-21 00:12:49 +02:00
actions:
- reload_fish
2020-12-03 03:45:40 +01:00
2020-06-23 16:52:48 +02:00
mako:
2020-06-25 17:09:48 +02:00
src: mako.conf
2020-06-20 18:58:49 +02:00
dst: ~/.config/mako/config
actions:
2020-10-26 00:55:43 +01:00
- reload_mako
2020-12-03 03:45:40 +01:00
2020-06-23 16:52:48 +02:00
waybar:
2020-06-25 17:09:48 +02:00
src: waybar
2020-06-20 18:58:49 +02:00
dst: ~/.config/waybar
2020-07-04 01:38:41 +02:00
actions:
2020-09-20 02:33:48 +02:00
- reload_sway
2020-12-03 03:45:40 +01:00
2020-06-23 22:09:22 +02:00
kitty:
2020-06-25 17:09:48 +02:00
src: kitty.conf
2020-06-20 18:58:49 +02:00
dst: ~/.config/kitty/kitty.conf
2020-10-21 04:48:52 +02:00
actions:
- reload_fish
2020-12-03 03:45:40 +01:00
nvim:
src: nvim.vim
dst: ~/.config/nvim/init.vim
actions:
- vimplug
mutt:
src: neomutt/
dst: ~/.config/neomutt/
actions:
- lnMail
2020-06-23 16:52:48 +02:00
lesskey:
2020-06-20 18:58:49 +02:00
src: lesskey
dst: ~/.lesskey
actions:
- lesskey
2020-12-03 03:45:40 +01:00
2020-06-23 16:52:48 +02:00
ranger:
2020-06-25 17:09:48 +02:00
src: ranger
2020-06-20 18:58:49 +02:00
dst: ~/.config/ranger
2020-09-25 22:16:05 +02:00
actions:
- ranger_icons
2020-12-03 03:45:40 +01:00
mpv:
src: mpv.conf
dst: ~/.config/mpv/mpv.conf
actions:
- sponsorblock
2020-07-02 06:46:11 +02:00
dav:
src: dav/
dst: ~/.config
2020-10-17 02:15:06 +02:00
actions:
- vdirsyncer
2020-12-03 03:45:40 +01:00
tmux:
src: tmux.conf
dst: ~/.tmux.conf
###############################################################
# Other
###############################################################
scripts:
src: scripts
dst: ~/.local/bin
actions:
2020-12-03 03:45:40 +01:00
- make_theme
wallpapers:
src: wallpapers
dst: ~/.local/share/wallpapers
mime:
src: mime/
dst: ~/
2020-07-11 04:33:04 +02:00
crontab:
src: crontab
dst: ~/.local/share/crontab
actions:
2020-09-20 02:33:48 +02:00
- crontab_install
2020-12-03 03:45:40 +01:00
2020-07-13 05:05:05 +02:00
theme:
src: theme
dst: ~/
2020-12-03 03:45:40 +01:00
2020-09-20 02:33:48 +02:00
clang-format:
src: clang-format
dst: ~/.clang-format
2020-12-03 03:45:40 +01:00
2020-10-18 19:25:08 +02:00
gpg-agent:
src: gpg-agent.conf
dst: ~/.gnupg/gpg-agent.conf
actions:
- pam_gpg
2020-12-03 03:45:40 +01:00
2020-11-28 20:12:35 +01:00
packages:
src: metaPKGBUILD
dst: ~/.local/share/metapkg/PKGBUILD
actions:
- install_meta
2020-11-28 22:01:41 +01:00
2020-12-03 03:45:40 +01:00
###############################################################
# Big pahts
###############################################################
2020-11-28 20:12:35 +01:00
2020-12-04 04:19:41 +01:00
code-oss:
src: vscode.jsonc
dst: "~/.config/Code - OSS/User/settings.json"
2020-12-03 03:45:40 +01:00
telegram-theme:
src: ./telegram.palette
dst: ~/.local/share/TelegramDesktop/theme.tdesktop-palette
2020-09-30 03:58:12 +02:00
2020-12-03 03:45:40 +01:00
blender:
"src": blenderTheme.xml
"dst": "~/.config/blender/{{@@ blender_version @@}}/scripts/presets/interface_theme/blenderTheme.xml"
###############################################################
# .config/, no actions
###############################################################
alacritty: { "src":"alacritty.yml", "dst":"~/.config/alacritty.yml" }
bat: { "src":"bat", "dst":"~/.config/bat/config" }
fusuma: { "src":"fusuma.yml", "dst":"~/.config/fusuma/config.yml" }
2020-12-07 02:10:51 +01:00
git: { "src":"git", "dst":"~/.config/git" }
2020-12-03 03:45:40 +01:00
imv: { "src":"imv.conf", "dst":"~/.config/imv/config" }
kakoune: { "src":"kak", "dst":"~/.config/kak" }
kanshi: { "src":"kanshi", "dst":"~/.config/kanshi/config" }
mpd: { "src":"mpd.conf", "dst":"~/.config/mpd/mpd.conf" }
qutebrowser: { "src":"qutebrowser", "dst":"~/.config/qutebrowser" }
rclone: { "src":"rclone.conf", "dst":"~/.config/rclone/rclone.conf" }
wofi: { "src":"wofi", "dst":"~/.config/wofi" }
zathura: { "src":"zathura.conf", "dst":"~/.config/zathura/zathurarc" }