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

309 lines
6.8 KiB
YAML
Raw Normal View History

2020-10-08 21:31:32 +02:00
# _ _ _
# __| | ___ | |_ __| |_ __ ___ _ __
# / _` |/ _ \| __/ _` | '__/ _ \| '_ \
# | (_| | (_) | || (_| | | | (_) | |_) |
# \__,_|\___/ \__\__,_|_| \___/| .__/
# |_|
2020-10-10 05:14:55 +02:00
variables:
username: lelgenio
mail: disroot.org
2020-10-16 07:11:27 +02:00
cursor_size: 24
2020-10-25 18:34:24 +01:00
launcher: wofi
2020-10-21 04:48:52 +02:00
terminal: kitty
2020-10-16 07:11:27 +02:00
bar: waybar
bar_pos: top
2020-10-10 05:14:55 +02:00
font:
2020-10-24 18:36:19 +02:00
mono: FiraCode Nerd Font
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
profiles:
2020-10-16 07:11:27 +02:00
dark: # {{{
variables:
2020-10-27 06:04:34 +01:00
opacity: 0.98
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'
txt: '#ffffff'
nontxt: '#252525'
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'
2020-10-16 07:11:27 +02:00
magenta: '#C397D8'
cyan: '#70C0BA'
white: '#EAEAEA'
2020-10-08 21:20:14 +02:00
dotfiles:
- ALL
2020-10-16 07:11:27 +02:00
# }}}
light: # {{{
variables:
2020-10-27 06:04:34 +01:00
opacity: 0.95
2020-10-22 17:09:42 +02:00
color:
2020-10-16 07:11:27 +02:00
type: light
2020-10-27 20:52:51 +01:00
bg: '#F5F5F5'
2020-10-16 07:11:27 +02:00
bg_light: '#A0A0A0'
bg_dark: '#999999'
2020-10-21 06:05:06 +02:00
txt: '#303030'
2020-10-16 07:11:27 +02:00
nontxt: '#A0A0A0'
normal:
black: '#555555'
red: '#D54E53'
green: '#008800'
2020-10-22 19:58:42 +02:00
yellow: '#EAB700'
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-10-25 22:10:20 +01:00
# }}}
# Accents {{{
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-10-16 07:11:27 +02:00
# }}}
2020-10-22 17:09:42 +02:00
colemak: #{{{
variables:
key:
layout: colemak
left: n
down: e
up: i
right: o
next: l
tabL: U
tabR: Y
insertMode: s
insertQuit: kk
#}}}
qwerty: #{{{
variables:
key:
layout: qwerty
left: h
down: j
up: k
right: l
next: l
tabL: I
tabR: O
insertMode: i
insertQuit: jj
#}}}
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-10-22 17:09:42 +02:00
#}}}
2020-10-25 22:10:20 +01:00
2020-10-08 21:31:32 +02:00
config: # {{{
backup: false
banner: false
keepdot: false
link_dotfile_default: nolink
link_on_import: nolink
longkey: false
default_actions:
- notify
func_file:
- funcs.py
2020-10-22 17:09:42 +02:00
dynvariables:
key_layout: |
if test -n "$_KEYBOARD_LAYOUT"; then
echo "$_KEYBOARD_LAYOUT"
else
grep lelgenio /etc/passwd &>/dev/null &&
echo colemak || echo qwerty
fi
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-11-10 05:27:30 +01:00
editor: test -n "$EDITOR" && echo "$EDITOR" || echo nvim
2020-10-23 08:22:04 +02:00
blender_version: blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g'
2020-10-08 21:31:32 +02:00
# }}}
dotfiles: # {{{
2020-06-20 18:58:49 +02:00
nvim:
2020-10-28 05:49:30 +01:00
src: nvim.vim
dst: ~/.config/nvim/init.vim
2020-06-23 22:09:22 +02:00
actions:
2020-09-20 02:33:48 +02:00
- vimplug
2020-06-23 16:52:48 +02:00
sway:
2020-06-25 17:09:48 +02:00
src: sway.conf
2020-06-20 18:58:49 +02:00
dst: ~/.config/sway/config
2020-06-23 22:09:22 +02:00
actions:
2020-09-20 02:33:48 +02:00
- reload_sway
2020-06-23 16:52:48 +02:00
fish:
2020-06-25 17:09:48 +02:00
src: fish.fish
2020-06-20 18:58:49 +02:00
dst: ~/.config/fish/config.fish
2020-10-21 00:12:49 +02:00
actions:
- reload_fish
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-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-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-06-23 22:09:22 +02:00
qutebrowser:
2020-06-25 17:09:48 +02:00
src: qutebrowser.py
2020-06-20 18:58:49 +02:00
dst: ~/.config/qutebrowser/config.py
2020-06-23 16:52:48 +02:00
lesskey:
2020-06-20 18:58:49 +02:00
src: lesskey
dst: ~/.lesskey
actions:
- lesskey
scripts:
src: scripts
dst: ~/.local/bin
2020-10-24 08:53:00 +02:00
actions:
- make_theme
2020-06-23 16:52:48 +02:00
wofi:
2020-06-25 17:09:48 +02:00
src: wofi
2020-06-20 18:58:49 +02:00
dst: ~/.config/wofi
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-06-23 16:52:48 +02:00
zathura:
2020-06-25 17:09:48 +02:00
src: zathura.conf
2020-06-20 18:58:49 +02:00
dst: ~/.config/zathura/zathurarc
2020-06-23 16:52:48 +02:00
wallpapers:
2020-06-20 18:58:49 +02:00
src: wallpapers
dst: ~/.local/share/wallpapers
mime:
src: mime/
dst: ~/
2020-06-23 22:09:22 +02:00
fusuma:
2020-06-25 17:09:48 +02:00
src: fusuma.yml
2020-06-21 00:07:53 +02:00
dst: ~/.config/fusuma/config.yml
2020-06-23 22:09:22 +02:00
alacritty:
2020-06-25 17:09:48 +02:00
src: alacritty.yml
2020-06-22 01:28:39 +02:00
dst: ~/.config/alacritty.yml
2020-06-23 16:52:48 +02:00
mpd:
2020-06-25 17:09:48 +02:00
src: mpd.conf
2020-06-22 21:06:08 +02:00
dst: ~/.config/mpd/mpd.conf
2020-07-02 06:46:11 +02:00
dav:
src: dav/
dst: ~/.config
2020-10-17 02:15:06 +02:00
actions:
- vdirsyncer
2020-10-17 19:29:17 +02:00
rclone:
src: rclone.conf
dst: ~/.config/rclone/rclone.conf
2020-07-04 01:38:41 +02:00
mutt:
src: neomutt/
dst: ~/.config/neomutt/
actions:
2020-11-03 00:41:40 +01:00
- lnMail
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-07-13 05:05:05 +02:00
theme:
src: theme
dst: ~/
2020-07-20 01:07:38 +02:00
kanshi:
src: kanshi
dst: ~/.config/kanshi/config
2020-07-24 07:19:32 +02:00
imv:
src: imv.conf
dst: ~/.config/imv/config
mpv:
2020-09-20 02:33:48 +02:00
src: mpv.conf
2020-07-24 07:19:32 +02:00
dst: ~/.config/mpv/mpv.conf
actions:
2020-09-20 02:33:48 +02:00
- sponsorblock
2020-08-20 07:10:31 +02:00
blender:
src: blenderTheme.xml
2020-10-23 08:22:04 +02:00
dst: "~/.config/blender/{{@@ blender_version @@}}/scripts/presets/interface_theme/blenderTheme.xml"
2020-09-20 02:33:48 +02:00
clang-format:
src: clang-format
dst: ~/.clang-format
2020-10-18 19:25:08 +02:00
gpg-agent:
src: gpg-agent.conf
dst: ~/.gnupg/gpg-agent.conf
actions:
- pam_gpg
2020-10-20 22:18:52 +02:00
tmux:
src: tmux.conf
dst: ~/.tmux.conf
2020-10-24 19:35:45 +02:00
git:
src: gitconfig
2020-10-27 19:13:34 +01:00
dst: ~/.config/git/config
2020-10-28 07:26:22 +01:00
telegram-theme:
src: ./telegram.palette
2020-10-29 18:44:48 +01:00
dst: ~/.local/share/TelegramDesktop/theme.tdesktop-palette
2020-11-07 03:55:01 +01:00
kakoune:
src: kakoune.kak
dst: ~/.config/kak/kakrc
2020-10-08 21:31:32 +02:00
# }}}
actions: #{{{
2020-10-18 01:09:10 +02:00
notify: notify-send "Updating dotfiles" "{{@@ _dotfile_abs_dst.lstrip(env['HOME']) @@}}"
2020-10-26 00:55:43 +01:00
reload_mako: makoctl reload
2020-06-20 18:58:49 +02:00
lesskey: lesskey
2020-10-26 01:22:57 +01:00
reload_sway: swaymsg reload &>/dev/null & disown
2020-10-21 05:06:47 +02:00
reload_fish: pkill -SIGHUP fish
2020-06-23 22:09:22 +02:00
vimplug: >
2020-06-24 05:34:06 +02:00
nvim
+PlugUpgrade
+PlugInstall
+PlugUpdate
+qall
&> /dev/null
2020-10-16 07:11:27 +02:00
& disown
2020-07-11 04:33:04 +02:00
crontab_install: |
crontab -r
crontab ~/.local/share/crontab
2020-10-17 02:15:06 +02:00
vdirsyncer: |
yes | vdirsyncer discover & disown
2020-11-03 00:41:40 +01:00
lnMail: |
ln -fs ~/.config/neomutt/mbsyncrc ~/.mbsyncrc
2020-11-03 00:41:40 +01:00
ln -fs ~/.config/neomutt/urlview ~/.urlview
2020-07-24 07:19:32 +02:00
sponsorblock: >
2020-09-30 03:58:12 +02:00
test -d ~/.config/mpv/scripts/sponsorblock_shared ||
2020-07-24 07:19:32 +02:00
git clone
https://github.com/po5/mpv_sponsorblock
2020-09-30 03:58:12 +02:00
~/.config/mpv/scripts;
rm -f
~/.config/mpv/scripts/LICENSE
~/.config/mpv/scripts/README.md
2020-09-25 22:16:05 +02:00
ranger_icons:
git clone
https://github.com/alexanderjeurissen/ranger_devicons
~/.config/ranger/plugins/ranger_devicons
2020-10-21 00:12:49 +02:00
pam_gpg: _pam-gpg-strap
2020-10-24 08:53:00 +02:00
make_theme:
~/.local/bin/_make_theme
2020-10-08 21:31:32 +02:00
# }}}
# vim: fdm=marker