From 957c73688621fe90564c038014866411ce2e4feb Mon Sep 17 00:00:00 2001 From: lelgenio Date: Wed, 16 Jun 2021 03:30:14 -0300 Subject: [PATCH] config: add banners and headers to many files --- dotfiles/clang-format | 11 +++++++++++ dotfiles/dav/khal/config | 8 ++++++++ dotfiles/dav/khard/khard.conf | 10 +++++++++- dotfiles/dav/vdirsyncer/config | 11 +++++++++++ dotfiles/firefox/chrome/userChrome.css | 2 +- dotfiles/firefox/user.js | 2 +- dotfiles/fusuma.yml | 8 ++++++++ dotfiles/git/attributes | 5 +++++ dotfiles/git/config | 8 ++++++++ dotfiles/git/config-work | 8 ++++++++ dotfiles/git/hooks/post-commit | 6 ++++++ dotfiles/git/ignore | 7 +++++++ dotfiles/gpg-agent.conf | 8 ++++++++ dotfiles/i3/config | 8 ++++++++ dotfiles/imv.conf | 10 +++++++++- dotfiles/kak-lsp.toml | 8 ++++++++ dotfiles/kanshi | 8 ++++++++ dotfiles/qutebrowser/config.py | 8 +++++++- dotfiles/qutebrowser/fonts.yaml | 8 ++++++++ dotfiles/qutebrowser/keys.py | 8 ++++++++ dotfiles/qutebrowser/source_yaml.py | 6 ++++++ dotfiles/qutebrowser/style.css | 7 +++++++ dotfiles/sway/swaylock | 4 ++++ dotfiles/tmux.conf | 3 +++ dotfiles/waybar/style.css | 1 + dotfiles/wofi/config | 10 ++++++++++ dotfiles/wofi/style.css | 9 +++++++++ root/greetd/cage.sh | 1 + root/greetd/config.toml | 2 ++ root/greetd/sway-config | 2 ++ 30 files changed, 192 insertions(+), 5 deletions(-) diff --git a/dotfiles/clang-format b/dotfiles/clang-format index b28e6d0..de215d3 100644 --- a/dotfiles/clang-format +++ b/dotfiles/clang-format @@ -1,3 +1,12 @@ +# {{@@ header() @@}} +# ____ _ __ _ +# / ___| | __ _ _ __ __ _ / _| ___ _ __ _ __ ___ __ _| |_ +# | | | |/ _` | '_ \ / _` |_____| |_ / _ \| '__| '_ ` _ \ / _` | __| +# | |___| | (_| | | | | (_| |_____| _| (_) | | | | | | | | (_| | |_ +# \____|_|\__,_|_| |_|\__, | |_| \___/|_| |_| |_| |_|\__,_|\__| +# |___/ + + BasedOnStyle: LLVM IndentWidth: {{@@ indent_width @@}} TabWidth: {{@@ indent_width @@}} @@ -5,3 +14,5 @@ TabWidth: {{@@ indent_width @@}} {%@@ if tabs @@%} UseTab: ForContinuationAndIndentation {%@@ endif @@%} + +# vim: ft=yaml diff --git a/dotfiles/dav/khal/config b/dotfiles/dav/khal/config index febe194..028e253 100644 --- a/dotfiles/dav/khal/config +++ b/dotfiles/dav/khal/config @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# _ ___ _ +# | |/ / |__ __ _| | +# | ' /| '_ \ / _` | | +# | . \| | | | (_| | | +# |_|\_\_| |_|\__,_|_| + + [default] default_calendar = calendar_local diff --git a/dotfiles/dav/khard/khard.conf b/dotfiles/dav/khard/khard.conf index 3fbdcc2..7acb165 100644 --- a/dotfiles/dav/khard/khard.conf +++ b/dotfiles/dav/khard/khard.conf @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# _ ___ _ +# | |/ / |__ __ _ _ __ __| | +# | ' /| '_ \ / _` | '__/ _` | +# | . \| | | | (_| | | | (_| | +# |_|\_\_| |_|\__,_|_| \__,_| + + [addressbooks] [[main]] path = ~/.local/share/contacts/contacts @@ -43,4 +51,4 @@ search_in_source_files = no # skip unparsable vcard files: yes / no skip_unparsable = no -# vim: ft=toml +# vim: ft=ini diff --git a/dotfiles/dav/vdirsyncer/config b/dotfiles/dav/vdirsyncer/config index 3aa3dab..f1a7832 100644 --- a/dotfiles/dav/vdirsyncer/config +++ b/dotfiles/dav/vdirsyncer/config @@ -1,3 +1,12 @@ +# {{@@ header() @@}} +# __ __ _ _ +# \ \ / /_| (_)_ __ ___ _ _ _ __ ___ ___ _ __ +# \ \ / / _` | | '__/ __| | | | '_ \ / __/ _ \ '__| +# \ V / (_| | | | \__ \ |_| | | | | (_| __/ | +# \_/ \__,_|_|_| |___/\__, |_| |_|\___\___|_| +# |___/ + + # An example configuration for vdirsyncer. # # Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it. @@ -67,3 +76,5 @@ type = "caldav" url = "https://cloud.{{@@ mail.personal.mail @@}}/remote.php/dav/calendars/{{@@ mail.personal.user @@}}/personal/" username = "{{@@ mail.personal.user @@}}@{{@@ mail.personal.mail @@}}" password.fetch = [ "command", "_pass_get", "{{@@ mail.personal.mail @@}}" ] + +# vim: ft=ini diff --git a/dotfiles/firefox/chrome/userChrome.css b/dotfiles/firefox/chrome/userChrome.css index 2b0bc43..b68e618 100644 --- a/dotfiles/firefox/chrome/userChrome.css +++ b/dotfiles/firefox/chrome/userChrome.css @@ -1,4 +1,4 @@ -/* +/* {{@@ header() @@}} _____ _ __ | ___(_)_ __ ___ / _| _____ __ | |_ | | '__/ _ \ |_ / _ \ \/ / diff --git a/dotfiles/firefox/user.js b/dotfiles/firefox/user.js index 442e234..b0a7355 100644 --- a/dotfiles/firefox/user.js +++ b/dotfiles/firefox/user.js @@ -1,4 +1,4 @@ -/* +/* {{@@ header() @@}} _____ _ __ | ___(_)_ __ ___ / _| _____ __ | |_ | | '__/ _ \ |_ / _ \ \/ / diff --git a/dotfiles/fusuma.yml b/dotfiles/fusuma.yml index a0d1085..48e64f8 100644 --- a/dotfiles/fusuma.yml +++ b/dotfiles/fusuma.yml @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# _____ +# | ___| _ ___ _ _ _ __ ___ __ _ +# | |_ | | | / __| | | | '_ ` _ \ / _` | +# | _|| |_| \__ \ |_| | | | | | | (_| | +# |_| \__,_|___/\__,_|_| |_| |_|\__,_| + + swipe: 3: left: diff --git a/dotfiles/git/attributes b/dotfiles/git/attributes index 35ecda7..f31c535 100644 --- a/dotfiles/git/attributes +++ b/dotfiles/git/attributes @@ -1,4 +1,9 @@ # {{@@ header() @@}} +# ____ _ _ +# / ___(_) |_ +# | | _| | __| +# | |_| | | |_ +# \____|_|\__| {%@@ if tabs @@%} diff --git a/dotfiles/git/config b/dotfiles/git/config index 999d189..662f1b5 100644 --- a/dotfiles/git/config +++ b/dotfiles/git/config @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# ____ _ _ +# / ___(_) |_ +# | | _| | __| +# | |_| | | |_ +# \____|_|\__| + + [user] name = {{@@ username @@}} email = {{@@ mail.personal.user @@}}@{{@@ mail.personal.mail @@}} diff --git a/dotfiles/git/config-work b/dotfiles/git/config-work index 8dd86f8..0c0862b 100644 --- a/dotfiles/git/config-work +++ b/dotfiles/git/config-work @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# ____ _ _ +# / ___(_) |_ +# | | _| | __| +# | |_| | | |_ +# \____|_|\__| + + [user] name = {{@@ mail.work.user.split("@")[0] | capitalize @@}} email = {{@@ mail.work.user.split("@")[0] @@}}@{{@@ mail.work.mail @@}} diff --git a/dotfiles/git/hooks/post-commit b/dotfiles/git/hooks/post-commit index 829303e..2ce12d8 100755 --- a/dotfiles/git/hooks/post-commit +++ b/dotfiles/git/hooks/post-commit @@ -1,3 +1,9 @@ #!/bin/sh +# {{@@ header() @@}} +# ____ _ _ +# / ___(_) |_ +# | | _| | __| +# | |_| | | |_ +# \____|_|\__| diff --git a/dotfiles/git/ignore b/dotfiles/git/ignore index 16d3c4d..43fa385 100644 --- a/dotfiles/git/ignore +++ b/dotfiles/git/ignore @@ -1 +1,8 @@ +# {{@@ header() @@}} +# ____ _ _ +# / ___(_) |_ +# | | _| | __| +# | |_| | | |_ +# \____|_|\__| + .cache diff --git a/dotfiles/gpg-agent.conf b/dotfiles/gpg-agent.conf index b747e5e..a0d5911 100644 --- a/dotfiles/gpg-agent.conf +++ b/dotfiles/gpg-agent.conf @@ -1,2 +1,10 @@ +# {{@@ header() @@}} +# ____ ____ ____ +# / ___| _ \ / ___| +# | | _| |_) | | _ +# | |_| | __/| |_| | +# \____|_| \____| + + allow-preset-passphrase max-cache-ttl 604800 diff --git a/dotfiles/i3/config b/dotfiles/i3/config index c4b2b36..0075414 100644 --- a/dotfiles/i3/config +++ b/dotfiles/i3/config @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# _ _____ +# (_)___ / +# | | |_ \ +# | |___) | +# |_|____/ + + # This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # diff --git a/dotfiles/imv.conf b/dotfiles/imv.conf index 65152ba..9191eda 100644 --- a/dotfiles/imv.conf +++ b/dotfiles/imv.conf @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# ___ __ ____ __ +# |_ _| \/ \ \ / / +# | || |\/| |\ \ / / +# | || | | | \ V / +# |___|_| |_| \_/ + + # Default config for imv [options] @@ -58,4 +66,4 @@ r = reset w = slideshow +1 = slideshow -1 -# vim: ft=dosini:cms=#\ %s +# vim: ft=ini:cms=#\ %s diff --git a/dotfiles/kak-lsp.toml b/dotfiles/kak-lsp.toml index c399b14..302cc4b 100644 --- a/dotfiles/kak-lsp.toml +++ b/dotfiles/kak-lsp.toml @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# _ _ _ ____ ____ +# | | ____ _| | __ | | / ___|| _ \ +# | |/ / _` | |/ / | | \___ \| |_) | +# | < (_| | < | |___ ___) | __/ +# |_|\_\__,_|_|\_\ |_____|____/|_| + + snippet_support = false verbosity = 2 diff --git a/dotfiles/kanshi b/dotfiles/kanshi index e440bb7..bdd9f3b 100644 --- a/dotfiles/kanshi +++ b/dotfiles/kanshi @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# _ __ _ _ +# | |/ /__ _ _ __ ___| |__ (_) +# | ' // _` | '_ \/ __| '_ \| | +# | . \ (_| | | | \__ \ | | | | +# |_|\_\__,_|_| |_|___/_| |_|_| + + profile sedetary { output eDP-1 position 1920,312 output HDMI-A-1 position 0,0 diff --git a/dotfiles/qutebrowser/config.py b/dotfiles/qutebrowser/config.py index e47559e..5d07c82 100644 --- a/dotfiles/qutebrowser/config.py +++ b/dotfiles/qutebrowser/config.py @@ -1,7 +1,13 @@ #!/bin/env python # {{@@ header() @@}} +# ___ _ _ +# / _ \ _ _| |_ ___| |__ _ __ _____ _____ ___ _ __ +# | | | | | | | __/ _ \ '_ \| '__/ _ \ \ /\ / / __|/ _ \ '__| +# | |_| | |_| | || __/ |_) | | | (_) \ V V /\__ \ __/ | +# \__\_\\__,_|\__\___|_.__/|_| \___/ \_/\_/ |___/\___|_| -from source_yaml import source_yaml + +from source_yaml import source_yaml # type: ignore from qutebrowser.config.configfiles import ConfigAPI # type: ignore from qutebrowser.config.config import ConfigContainer # type: ignore diff --git a/dotfiles/qutebrowser/fonts.yaml b/dotfiles/qutebrowser/fonts.yaml index b160504..6dcaefd 100644 --- a/dotfiles/qutebrowser/fonts.yaml +++ b/dotfiles/qutebrowser/fonts.yaml @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# ___ _ _ +# / _ \ _ _| |_ ___| |__ _ __ _____ _____ ___ _ __ +# | | | | | | | __/ _ \ '_ \| '__/ _ \ \ /\ / / __|/ _ \ '__| +# | |_| | |_| | || __/ |_) | | | (_) \ V V /\__ \ __/ | +# \__\_\\__,_|\__\___|_.__/|_| \___/ \_/\_/ |___/\___|_| + + {%@@ set DEF_MONO = "{}px {}".format(font.size.medium, font.mono) @@%} {%@@ set BIG_MONO = "{}px {}".format(font.size.big, font.mono) @@%} {%@@ set DEF_INTER = "{}px {}".format(font.size.medium, font.interface) @@%} diff --git a/dotfiles/qutebrowser/keys.py b/dotfiles/qutebrowser/keys.py index 823e0c6..cc07057 100644 --- a/dotfiles/qutebrowser/keys.py +++ b/dotfiles/qutebrowser/keys.py @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# ___ _ _ +# / _ \ _ _| |_ ___| |__ _ __ _____ _____ ___ _ __ +# | | | | | | | __/ _ \ '_ \| '__/ _ \ \ /\ / / __|/ _ \ '__| +# | |_| | |_| | || __/ |_) | | | (_) \ V V /\__ \ __/ | +# \__\_\\__,_|\__\___|_.__/|_| \___/ \_/\_/ |___/\___|_| + + from qutebrowser.config.configfiles import ConfigAPI # type: ignore from qutebrowser.config.config import ConfigContainer # type: ignore diff --git a/dotfiles/qutebrowser/source_yaml.py b/dotfiles/qutebrowser/source_yaml.py index d2a416e..05d6e5e 100644 --- a/dotfiles/qutebrowser/source_yaml.py +++ b/dotfiles/qutebrowser/source_yaml.py @@ -1,5 +1,11 @@ #!/bin/env python # {{@@ header() @@}} +# ___ _ _ +# / _ \ _ _| |_ ___| |__ _ __ _____ _____ ___ _ __ +# | | | | | | | __/ _ \ '_ \| '__/ _ \ \ /\ / / __|/ _ \ '__| +# | |_| | |_| | || __/ |_) | | | (_) \ V V /\__ \ __/ | +# \__\_\\__,_|\__\___|_.__/|_| \___/ \_/\_/ |___/\___|_| + import yaml diff --git a/dotfiles/qutebrowser/style.css b/dotfiles/qutebrowser/style.css index 500ffde..0febe98 100644 --- a/dotfiles/qutebrowser/style.css +++ b/dotfiles/qutebrowser/style.css @@ -1,3 +1,10 @@ +/* {{@@ header() @@}} + ___ _ _ + / _ \ _ _| |_ ___| |__ _ __ _____ _____ ___ _ __ +| | | | | | | __/ _ \ '_ \| '__/ _ \ \ /\ / / __|/ _ \ '__| +| |_| | |_| | || __/ |_) | | | (_) \ V V /\__ \ __/ | + \__\_\\__,_|\__\___|_.__/|_| \___/ \_/\_/ |___/\___|_| +*/ /*{%@@ if color.type == "dark" @@%}*/ diff --git a/dotfiles/sway/swaylock b/dotfiles/sway/swaylock index ec65476..e589c49 100644 --- a/dotfiles/sway/swaylock +++ b/dotfiles/sway/swaylock @@ -1,3 +1,5 @@ +# {{@@ header() @@}} + image={{@@ background @@}} font={{@@ font.interface @@}} font-size={{@@ font.size.medium @@}} @@ -23,3 +25,5 @@ line-wrong-color=#aabbcc00 # line-uses-ring indicator-thickness=20 + +# vim: ft=ini diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index 5cbd37d..10c0bb7 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -1,3 +1,4 @@ +# {{@@ header() @@}} # _____ # |_ _| __ ___ _ ___ __ # | || '_ ` _ \| | | \ \/ / @@ -25,3 +26,5 @@ set -g status off set -g default-terminal "xterm-256color" set -g terminal-overrides ",xterm-256color:Tc" + +# vim: ft=sh diff --git a/dotfiles/waybar/style.css b/dotfiles/waybar/style.css index 9a39368..70fed3d 100644 --- a/dotfiles/waybar/style.css +++ b/dotfiles/waybar/style.css @@ -1,3 +1,4 @@ +/* {{@@ header() @@}} */ /* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */ * { font: {{@@ font.size.medium @@}}px {{@@ font.interface @@}}, Font Awesome, Fira Code Nerd Font; diff --git a/dotfiles/wofi/config b/dotfiles/wofi/config index 576ac4b..ed2efea 100644 --- a/dotfiles/wofi/config +++ b/dotfiles/wofi/config @@ -1,3 +1,11 @@ +# {{@@ header() @@}} +# __ __ __ _ +# \ \ / /__ / _(_) +# \ \ /\ / / _ \| |_| | +# \ V V / (_) | _| | +# \_/\_/ \___/|_| |_| + + show=drun prompt=Iniciar: allow_images=true @@ -7,3 +15,5 @@ term=terminal insensitive=true width=800 height=400 + +# vim: ft=ini diff --git a/dotfiles/wofi/style.css b/dotfiles/wofi/style.css index 9bcfc3b..6d4fda0 100644 --- a/dotfiles/wofi/style.css +++ b/dotfiles/wofi/style.css @@ -1,3 +1,12 @@ +/* {{@@ header() @@}} +__ __ __ _ +\ \ / /__ / _(_) + \ \ /\ / / _ \| |_| | + \ V V / (_) | _| | + \_/\_/ \___/|_| |_| +*/ + + *{ color:{{@@ color.txt @@}}; font: Inter 16; diff --git a/root/greetd/cage.sh b/root/greetd/cage.sh index 1b2d863..91de952 100755 --- a/root/greetd/cage.sh +++ b/root/greetd/cage.sh @@ -1,4 +1,5 @@ #!/bin/sh +# {{@@ header() @@}} export XKB_DEFAULT_LAYOUT=us export XKB_DEFAULT_VARIANT=colemak diff --git a/root/greetd/config.toml b/root/greetd/config.toml index 0da95bb..a0f3071 100644 --- a/root/greetd/config.toml +++ b/root/greetd/config.toml @@ -1,3 +1,5 @@ +# {{@@ header() @@}} + [terminal] # The VT to run the greeter on. Can be "next", "current" or a number # designating the VT. diff --git a/root/greetd/sway-config b/root/greetd/sway-config index b860818..a1a3ee6 100644 --- a/root/greetd/sway-config +++ b/root/greetd/sway-config @@ -1,3 +1,5 @@ +# {{@@ header() @@}} + exec "env GTK_THEME='{{@@ gtk_theme @@}}' CURSOR_THEME='{{@@ cursor_theme @@}}' gtkgreet -l --command fish; swaymsg exit" bindsym Mod4+control+z exec systemctl suspend || loginctl suspend