Fix alacritty-dracula theme and add shellcheckrc

This commit is contained in:
Tobias Reisinger 2022-10-15 02:31:44 +02:00
parent 9e6cca922f
commit d0c863c3f3
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 58 additions and 37 deletions

View file

@ -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

View file

@ -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'

1
.shellcheckrc Normal file
View file

@ -0,0 +1 @@
disable=1091

View file

@ -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