Fix alacritty-dracula theme and add shellcheckrc
This commit is contained in:
parent
9e6cca922f
commit
d0c863c3f3
4 changed files with 58 additions and 37 deletions
|
@ -69,5 +69,6 @@ case $1 in
|
||||||
edit) _systemctl "$2" edit --full ;;
|
edit) _systemctl "$2" edit --full ;;
|
||||||
enable) _systemctl "$2" add-wants autostart.target ;;
|
enable) _systemctl "$2" add-wants autostart.target ;;
|
||||||
disable) _systemctl "$2" enable ;;
|
disable) _systemctl "$2" enable ;;
|
||||||
|
start) systemctl --user start autostart.target ;;
|
||||||
*) echo "'$1' is not valid" ;;
|
*) echo "'$1' is not valid" ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,42 +1,61 @@
|
||||||
# Colors (Dracula)
|
# Dracula theme for Alacritty
|
||||||
colors:
|
# https://draculatheme.com/alacritty
|
||||||
# Default colors
|
#
|
||||||
primary:
|
# Color palette
|
||||||
background: '#282a36'
|
# https://spec.draculatheme.com
|
||||||
foreground: '#f8f8f2'
|
#
|
||||||
|
# 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:
|
search:
|
||||||
matches:
|
matches:
|
||||||
foreground: '0x44475a'
|
foreground: '#44475a'
|
||||||
background: '0x50fa7b'
|
background: '#50fa7b'
|
||||||
focused_match:
|
focused_match:
|
||||||
foreground: '0x44475a'
|
foreground: '#44475a'
|
||||||
background: '0xffb86c'
|
background: '#ffb86c'
|
||||||
bar:
|
footer_bar:
|
||||||
background: '0x282a36'
|
background: '#282a36'
|
||||||
foreground: '0xf8f8f2'
|
foreground: '#f8f8f2'
|
||||||
|
hints:
|
||||||
|
start:
|
||||||
|
foreground: '#282a36'
|
||||||
|
background: '#f1fa8c'
|
||||||
|
end:
|
||||||
|
foreground: '#f1fa8c'
|
||||||
|
background: '#282a36'
|
||||||
|
line_indicator:
|
||||||
|
foreground: None
|
||||||
|
background: None
|
||||||
selection:
|
selection:
|
||||||
text: '0xf8f8f2'
|
text: CellForeground
|
||||||
background: '0x44475a'
|
background: '#44475a'
|
||||||
|
|
||||||
# Normal colors
|
|
||||||
normal:
|
normal:
|
||||||
black: '#000000'
|
black: '#21222c'
|
||||||
red: '#ff5555'
|
red: '#ff5555'
|
||||||
green: '#50fa7b'
|
green: '#50fa7b'
|
||||||
yellow: '#f1fa8c'
|
yellow: '#f1fa8c'
|
||||||
blue: '#caa9fa'
|
blue: '#bd93f9'
|
||||||
magenta: '#ff79c6'
|
magenta: '#ff79c6'
|
||||||
cyan: '#8be9fd'
|
cyan: '#8be9fd'
|
||||||
white: '#bfbfbf'
|
white: '#f8f8f2'
|
||||||
|
|
||||||
# Bright colors
|
|
||||||
bright:
|
bright:
|
||||||
black: '#575b70'
|
black: '#6272a4'
|
||||||
red: '#ff6e67'
|
red: '#ff6e6e'
|
||||||
green: '#5af78e'
|
green: '#69ff94'
|
||||||
yellow: '#f4f99d'
|
yellow: '#ffffa5'
|
||||||
blue: '#caa9fa'
|
blue: '#d6acff'
|
||||||
magenta: '#ff92d0'
|
magenta: '#ff92df'
|
||||||
cyan: '#9aedfe'
|
cyan: '#a4ffff'
|
||||||
white: '#e6e6e6'
|
white: '#ffffff'
|
||||||
|
|
1
.shellcheckrc
Normal file
1
.shellcheckrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
disable=1091
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
. "$HOME/.config/environment"
|
. "$HOME/.config/environment"
|
||||||
|
|
||||||
numlockx on
|
numlockx on
|
||||||
|
@ -17,9 +19,7 @@ _autostart()
|
||||||
(pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
|
(pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
|
||||||
pass x && sleep 5
|
pass x && sleep 5
|
||||||
|
|
||||||
systemctl --user start autostart.target
|
autostart-manage start
|
||||||
}
|
}
|
||||||
|
|
||||||
_autostart &
|
_autostart &
|
||||||
|
|
||||||
# vim: ft=sh
|
|
||||||
|
|
Loading…
Reference in a new issue