From 394616278ce1b486b270189a1f698b45aad41f39 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sat, 12 Jun 2021 18:05:58 -0600 Subject: [PATCH] update alacritty and ksh configs --- alacritty.yml | 34 +++++++++++++++++----------------- kshrc | 41 +++++++++++++++++++++++++++++++++++++---- 2 files changed, 54 insertions(+), 21 deletions(-) diff --git a/alacritty.yml b/alacritty.yml index 2fc9b99..89b5f6d 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -147,7 +147,7 @@ font: #style: Bold Italic # Point size - size: 6.5 + size: 9 # Offset is the extra space around each character. `offset.y` can be thought of @@ -170,7 +170,7 @@ font: #use_thin_strokes: true # 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: @@ -181,25 +181,25 @@ colors: # Normal colors normal: - black: '#000f19' - red: '#dc322f' # red - green: '#859900' # green - yellow: '#b58900' # yellow - blue: '#268bd2' # blue - magenta: '#d33682' # magenta - cyan: '#2aa198' # cyan - white: '#eee8d5' # base2 + black: '#000000' + red: '#cc221f' # red + green: '#586e75' # green + yellow: '#cb4b16' # yellow + blue: '#002b36' # blue + magenta: '#5c0431' # magenta + cyan: '#17736C' # cyan + white: '#c9c9c9' # base2 # Bright colors bright: black: '#002b36' # base03 - red: '#cb4b16' # orange - green: '#586e75' # base01 - yellow: '#657b83' # base00 - blue: '#839496' # base0 - magenta: '#6c71c4' # violet - cyan: '#93a1a1' # base1 - white: '#fdf6e3' # base3 + red: '#dc322f' # orange + green: '#1f9b92' # base01 + yellow: '#b58900' # base00 + blue: '#1f9b92' # base0 + magenta: '#ab075c' # violet + cyan: '#1f9b92' # base1 + white: '#ffffff' # base3 # Colors (Tomorrow Night) #colors: # Default colors diff --git a/kshrc b/kshrc index a841fcc..2d614b6 100644 --- a/kshrc +++ b/kshrc @@ -7,12 +7,16 @@ indicator() fi } +export WINIT_X11_SCALE_FACTOR=1 export GTK_THEME=steppenwolf-dark export GPG_TTY=$(tty) export VISUAL=micro export EDITOR=micro -export BROWSER=firefox +export BROWSER=qutebrowser export MICRO_TRUECOLOR=1 +export GOPATH=~/src/go +export ZEIT_DB=~/.zeit/db +export DOTNET_ROOT=${HOME}/bin/dotnet if [ "$TERM" = "dumb" ]; then PS1='$(indicator) ' else @@ -34,7 +38,6 @@ acmeInit() { export tabstop=2 acme -aib -f /mnt/font/SauceCodeProNerdFontComplete-Regular/9a/font & - #transset -n "acme" 0.85 exit } @@ -170,6 +173,36 @@ microCmd() 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 mail='silence thunderbird' alias fs='silence pcmanfm-qt' @@ -180,9 +213,9 @@ alias gpg='gpg2' alias zoom='flatpak --device=all --filesystem=host run us.zoom.Zoom' alias teams='flatpak --device=all --filesystem=host run com.microsoft.Teams' alias micro='microCmd' +alias mutt='echo -ne "\033]0;neomutt\007"; neomutt' 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' if [ -d ~/bin ]; then