diff --git a/.bin/autostart-manage b/.bin/autostart-manage index fca1bce..0f6cb59 100755 --- a/.bin/autostart-manage +++ b/.bin/autostart-manage @@ -69,5 +69,6 @@ case $1 in edit) _systemctl "$2" edit --full ;; enable) _systemctl "$2" add-wants autostart.target ;; disable) _systemctl "$2" enable ;; + start) systemctl --user start autostart.target ;; *) echo "'$1' is not valid" ;; esac diff --git a/.config/alacritty/dracula.yml b/.config/alacritty/dracula.yml index 8fde28f..529782f 100644 --- a/.config/alacritty/dracula.yml +++ b/.config/alacritty/dracula.yml @@ -1,42 +1,61 @@ -# Colors (Dracula) -colors: - # Default colors - primary: - background: '#282a36' - foreground: '#f8f8f2' +# Dracula theme for Alacritty +# https://draculatheme.com/alacritty +# +# Color palette +# https://spec.draculatheme.com +# +# Template +# https://github.com/alacritty/alacritty/blob/master/alacritty.yml +colors: + primary: + background: '#282a36' + foreground: '#f8f8f2' + bright_foreground: '#ffffff' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground search: matches: - foreground: '0x44475a' - background: '0x50fa7b' + foreground: '#44475a' + background: '#50fa7b' focused_match: - foreground: '0x44475a' - background: '0xffb86c' - bar: - background: '0x282a36' - foreground: '0xf8f8f2' + foreground: '#44475a' + background: '#ffb86c' + footer_bar: + background: '#282a36' + foreground: '#f8f8f2' + hints: + start: + foreground: '#282a36' + background: '#f1fa8c' + end: + foreground: '#f1fa8c' + background: '#282a36' + line_indicator: + foreground: None + background: None selection: - text: '0xf8f8f2' - background: '0x44475a' - - # Normal colors + text: CellForeground + background: '#44475a' normal: - black: '#000000' - red: '#ff5555' - green: '#50fa7b' - yellow: '#f1fa8c' - blue: '#caa9fa' + black: '#21222c' + red: '#ff5555' + green: '#50fa7b' + yellow: '#f1fa8c' + blue: '#bd93f9' magenta: '#ff79c6' - cyan: '#8be9fd' - white: '#bfbfbf' - - # Bright colors + cyan: '#8be9fd' + white: '#f8f8f2' bright: - black: '#575b70' - red: '#ff6e67' - green: '#5af78e' - yellow: '#f4f99d' - blue: '#caa9fa' - magenta: '#ff92d0' - cyan: '#9aedfe' - white: '#e6e6e6' + black: '#6272a4' + red: '#ff6e6e' + green: '#69ff94' + yellow: '#ffffa5' + blue: '#d6acff' + magenta: '#ff92df' + cyan: '#a4ffff' + white: '#ffffff' diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 0000000..5104d2e --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1 @@ +disable=1091 diff --git a/.xprofile b/.xprofile index b708839..b4b2566 100644 --- a/.xprofile +++ b/.xprofile @@ -1,3 +1,5 @@ +#!/usr/bin/env sh + . "$HOME/.config/environment" numlockx on @@ -17,9 +19,7 @@ _autostart() (pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) & pass x && sleep 5 - systemctl --user start autostart.target + autostart-manage start } _autostart & - -# vim: ft=sh