From b6fb14b7054c3fa91b9c8cc482b50d4fd8463a70 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Wed, 24 Mar 2021 10:13:00 +0300 Subject: [PATCH] feat(yadm): symlinks --- .../tridactyl/.tridactylrc##template | 0 .../tridactyl/themes}/base16-dracula.css | 32 ++++++++----------- .../vnstat/.vnstatrc##template | 0 .config/yadm/hooks/post_alt | 12 +++++++ README.org | 4 +++ 5 files changed, 29 insertions(+), 19 deletions(-) rename .tridactylrc##template => .config/tridactyl/.tridactylrc##template (100%) rename {themes => .config/tridactyl/themes}/base16-dracula.css (88%) rename .vnstatrc##template => .config/vnstat/.vnstatrc##template (100%) create mode 100755 .config/yadm/hooks/post_alt diff --git a/.tridactylrc##template b/.config/tridactyl/.tridactylrc##template similarity index 100% rename from .tridactylrc##template rename to .config/tridactyl/.tridactylrc##template diff --git a/themes/base16-dracula.css b/.config/tridactyl/themes/base16-dracula.css similarity index 88% rename from themes/base16-dracula.css rename to .config/tridactyl/themes/base16-dracula.css index a32cb73..d735c37 100644 --- a/themes/base16-dracula.css +++ b/.config/tridactyl/themes/base16-dracula.css @@ -1,20 +1,20 @@ :root { /* Dracula by Chris Kempson (http://chriskempson.com) */ - --base00: #292d3e; + --base00: #282936; --base01: #3a3c4e; - --base02: #434758; + --base02: #4d4f68; --base03: #626483; - --base04: #82aaff; + --base04: #62d6e8; --base05: #e9e9f4; --base06: #f1f2f8; --base07: #f7f7fb; - --base08: #f07178; - --base09: #c792ea; - --base0A: #c3e88d; - --base0B: #ffcb6b; - --base0C: #89ddff; - --base0D: #82aaff; - --base0E: #c792ea; - --base0F: #c3e88d; + --base08: #ea51b2; + --base09: #b45bcf; + --base0A: #00f769; + --base0B: #ebff87; + --base0C: #a1efe4; + --base0D: #62d6e8; + --base0E: #b45bcf; + --base0F: #00f769; --tridactyl-fg: var(--base05); --tridactyl-bg: var(--base00); @@ -31,16 +31,10 @@ --tridactyl-hint-active-fg: none; --tridactyl-hint-active-bg: none; --tridactyl-hint-active-outline: none; - /* --tridactyl-hint-activy-outline: var(--base08); */ --tridactyl-hint-bg: none; --tridactyl-hint-outline: none; - /* --tridactyl-hint-outline: var(--base08); */ } -/* a { */ -/* color: var(--base04); */ -/* } */ - #command-line-holder { order: 1; border: 2px solid var(--base0B); color: var(--tridactyl-bg); @@ -49,7 +43,7 @@ #tridactyl-input { padding: 1rem; color: var(--tridactyl-fg); width: 90%; - font-size: 1.2rem; + font-size: 1.5rem; line-height: 1.5; background: var(--tridactyl-bg); padding-left: unset; @@ -89,7 +83,7 @@ } #completions .HistoryCompletionSource table { width: 100%; - font-size: 11pt; + font-size: 9pt; border-spacing: 0; table-layout: fixed; } diff --git a/.vnstatrc##template b/.config/vnstat/.vnstatrc##template similarity index 100% rename from .vnstatrc##template rename to .config/vnstat/.vnstatrc##template diff --git a/.config/yadm/hooks/post_alt b/.config/yadm/hooks/post_alt new file mode 100755 index 0000000..2c07df7 --- /dev/null +++ b/.config/yadm/hooks/post_alt @@ -0,0 +1,12 @@ +#!/bin/bash +LINKS=( + "$HOME/.config/tridactyl/themes $HOME/themes" + "$HOME/.config/tridactyl/.tridactylrc $HOME/.tridactylrc" + "$HOME/.config/vnstat/.vnstatrc $HOME/.vnstatrc" +) +for item in "${LINKS[@]}" +do + ln -svf $item +done + +# ln -s ~/.config/tridactyl/themes ~/themes diff --git a/README.org b/README.org index 1c742a4..90abaa9 100644 --- a/README.org +++ b/README.org @@ -41,3 +41,7 @@ Deployed with [[https://yadm.io/][yadm]] | misc | [[https://yadm.io][yadm]] | dotfiles manager | *active* | - | | | misc | [[https://github.com/risacher/sunwait][sunwait]] | sunrise calculator | *active* | - | | | misc | [[https://github.com/vergoh/vnstat][vnstat]] | traffic stats | *active* | - | | + + +* Misc +Uses yadm's =post_alt= hook to create symlinks