Merge branch 'ksatrya'

This commit is contained in:
Iris Lightshard 2022-03-26 09:42:07 -06:00
commit 9c69581540

26
kshrc
View file

@ -7,16 +7,6 @@ indicator()
fi fi
} }
silence()
{
"$@" > /dev/null & exit
}
search()
{
$BROWSER https://duckduckgo.com/?q="$*" > /dev/null & exit
}
sshmount() sshmount()
{ {
sshfs $1 $2 sshfs $1 $2
@ -73,7 +63,7 @@ cuegen()
mssqldb() mssqldb()
{ {
if [ -z $1 ]; then if [ -z "$1" ]; then
return return
fi fi
@ -158,14 +148,6 @@ microCmd()
fi fi
} }
defaultsesh(){
echo $1 > ~/.xsesh
}
reloadkwin(){
kwin_x11 --replace --no-kactivities &
}
findprinters(){ findprinters(){
sudo lpinfo -l -v | grep ':/' -A 5 sudo lpinfo -l -v | grep ':/' -A 5
} }
@ -197,7 +179,7 @@ mode(){
esac esac
nitrogen --restore nitrogen --restore
if pgrep ryudo; then if pgrep ryudo; then
killall xclock; xclock -strftime "%Y-%m-%d %H:%M" -geometry -0-0 & killall xneralie; ~/src/xneralie/launch.sh &
fi fi
if [ ${hasPanel} -eq 1 ]; then if [ ${hasPanel} -eq 1 ]; then
tint2 & tint2 &
@ -242,6 +224,7 @@ dreadlock() {
$cmd "$@" | nobs $cmd "$@" | nobs
} }
export WINIT_X11_SCALE_FACTOR=1 export WINIT_X11_SCALE_FACTOR=1
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
@ -256,6 +239,7 @@ export ZEIT_DB=~/.zeit/db
export DOTNET_ROOT=${HOME}/bin/dotnet export DOTNET_ROOT=${HOME}/bin/dotnet
export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398 export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398
export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5 export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5
export MBOX_ROOT=/home/nilix/lib/mail/zoho
if [ "$TERM" = "dumb" ]; then if [ "$TERM" = "dumb" ]; then
PS1='$(indicator) ' PS1='$(indicator) '
export PINENTRY_USER_DATA=tty export PINENTRY_USER_DATA=tty
@ -282,7 +266,7 @@ alias zoom='flatpak --env=XDG_DOCUMENTS_DIR=/home/nilix/lib/doc --filesystem=hos
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 startx='exec startx' alias startx='exec startx'
alias mutt='echo -ne "\033]0;neomutt\007"; neomutt' # alias mutt='echo -ne "\033]0;neomutt\007"; neomutt'
# alias mpv='mpv --player-operation-mode=pseudo-gui --term-osd=force --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'
alias nasu='uxnemu ~/src/nasu/bin/nasu.rom' alias nasu='uxnemu ~/src/nasu/bin/nasu.rom'