update alacritty and ksh configs

This commit is contained in:
Iris Lightshard 2021-06-12 18:05:58 -06:00
parent 8ff96fecdd
commit 394616278c
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
2 changed files with 54 additions and 21 deletions

View file

@ -147,7 +147,7 @@ font:
#style: Bold Italic #style: Bold Italic
# Point size # Point size
size: 6.5 size: 9
# Offset is the extra space around each character. `offset.y` can be thought of # Offset is the extra space around each character. `offset.y` can be thought of
@ -170,7 +170,7 @@ font:
#use_thin_strokes: true #use_thin_strokes: true
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false draw_bold_text_with_bright_colors: true
colors: colors:
@ -181,25 +181,25 @@ colors:
# Normal colors # Normal colors
normal: normal:
black: '#000f19' black: '#000000'
red: '#dc322f' # red red: '#cc221f' # red
green: '#859900' # green green: '#586e75' # green
yellow: '#b58900' # yellow yellow: '#cb4b16' # yellow
blue: '#268bd2' # blue blue: '#002b36' # blue
magenta: '#d33682' # magenta magenta: '#5c0431' # magenta
cyan: '#2aa198' # cyan cyan: '#17736C' # cyan
white: '#eee8d5' # base2 white: '#c9c9c9' # base2
# Bright colors # Bright colors
bright: bright:
black: '#002b36' # base03 black: '#002b36' # base03
red: '#cb4b16' # orange red: '#dc322f' # orange
green: '#586e75' # base01 green: '#1f9b92' # base01
yellow: '#657b83' # base00 yellow: '#b58900' # base00
blue: '#839496' # base0 blue: '#1f9b92' # base0
magenta: '#6c71c4' # violet magenta: '#ab075c' # violet
cyan: '#93a1a1' # base1 cyan: '#1f9b92' # base1
white: '#fdf6e3' # base3 white: '#ffffff' # base3
# Colors (Tomorrow Night) # Colors (Tomorrow Night)
#colors: #colors:
# Default colors # Default colors

41
kshrc
View file

@ -7,12 +7,16 @@ indicator()
fi fi
} }
export WINIT_X11_SCALE_FACTOR=1
export GTK_THEME=steppenwolf-dark export GTK_THEME=steppenwolf-dark
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export VISUAL=micro export VISUAL=micro
export EDITOR=micro export EDITOR=micro
export BROWSER=firefox export BROWSER=qutebrowser
export MICRO_TRUECOLOR=1 export MICRO_TRUECOLOR=1
export GOPATH=~/src/go
export ZEIT_DB=~/.zeit/db
export DOTNET_ROOT=${HOME}/bin/dotnet
if [ "$TERM" = "dumb" ]; then if [ "$TERM" = "dumb" ]; then
PS1='$(indicator) ' PS1='$(indicator) '
else else
@ -34,7 +38,6 @@ acmeInit()
{ {
export tabstop=2 export tabstop=2
acme -aib -f /mnt/font/SauceCodeProNerdFontComplete-Regular/9a/font & acme -aib -f /mnt/font/SauceCodeProNerdFontComplete-Regular/9a/font &
#transset -n "acme" 0.85
exit exit
} }
@ -170,6 +173,36 @@ microCmd()
fi fi
} }
defaultsesh(){
echo $1 > ~/.xsesh
}
reloadkwin(){
kwin_x11 --replace --no-kactivities &
}
findprinters(){
sudo lpinfo -l -v | grep ':/' -A 5
}
today(){
date +%FT00:00:00%:z
}
mode(){
case $1 in
desktop)
~/src/zenUtils/extdisplay.sh solo
sed -i -e 's/size: 6\.5/size: 9/' .config/alacritty-ryudo.yml
;;
laptop)
~/src/zenUtils/extdisplay.sh off
sed -i -e 's/size: 9/size: 6\.5/' .config/alacritty-ryudo.yml
;;
esac
nitrogen --restore
}
alias web='silence $BROWSER' alias web='silence $BROWSER'
alias mail='silence thunderbird' alias mail='silence thunderbird'
alias fs='silence pcmanfm-qt' alias fs='silence pcmanfm-qt'
@ -180,9 +213,9 @@ alias gpg='gpg2'
alias zoom='flatpak --device=all --filesystem=host run us.zoom.Zoom' alias zoom='flatpak --device=all --filesystem=host run us.zoom.Zoom'
alias teams='flatpak --device=all --filesystem=host run com.microsoft.Teams' alias teams='flatpak --device=all --filesystem=host run com.microsoft.Teams'
alias micro='microCmd' alias micro='microCmd'
alias mutt='echo -ne "\033]0;neomutt\007"; neomutt'
alias startx='exec startx' alias startx='exec startx'
alias mpv='mpv --player-operation-mode=pseudo-gui --cover-art-files=/home/nilix/lib/img/ux/sound_only.png' # alias mpv='mpv --player-operation-mode=pseudo-gui --term-osd=force --cover-art-files=/home/nilix/lib/img/ux/sound_only.png'
alias ls='ls -lh --group-directories-first' alias ls='ls -lh --group-directories-first'
if [ -d ~/bin ]; then if [ -d ~/bin ]; then