diff options
Diffstat (limited to 'mksh/mkshfunc')
-rw-r--r-- | mksh/mkshfunc | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/mksh/mkshfunc b/mksh/mkshfunc deleted file mode 100644 index adb6a91..0000000 --- a/mksh/mkshfunc +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/mksh -catclip () { - cat "$@" | xclip -selection clipboard -} - -catpass () { - PASSWD=$(cat ~/pass.txt); echo "$PASSWD\n$PASSWD" | pass insert "$1"; unset PASSWD -} - -sigdwmblocks () { - pkill -RTMIN+$(grep "$1" ~/git/dwmblocks/config.h | awk '{print $4}' | cut -d'}' -f1) dwmblocks -} - -mkcd () { - mkdir $@ && cd $1 -} - -sc () { - if [ "$1" = "" ]; then - cd $HOME - else - case "$1" in - "-l") echo " -a - ~/.config/awesome -cpr- ~/.config/primrose -db - ~/git/dwmbar -dwm- ~/suckless/dwm -g - ~/git -pr - ~/git/primrose -s - ~/.local/scripts -slo- ~/suckless/slock -st - ~/suckless/st -tfd- ~/Documents/fllixel/TheFiniteDemo -tst- !tabbed -c st -w -v - ~/.vst -vsv- ~/.local/volsv -z - ~/.config/zsh -zx - ~/Documents/zachir.xyz -";; - "a") cd $XDG_CONFIG_HOME/awesome/ ;; - "cpr") cd $XDG_CONFIG_HOME/primrose/ ;; - "dwm") cd $HOME/suckless/dwm/ ;; - "db") cd $HOME/git/dwmbar/ ;; - "g") cd $HOME/git/ ;; - "pr") cd $HOME/git/primrose/ ;; - "slo") cd $HOME/suckless/slock/ ;; - "s") cd $HOME/.local/scripts/ ;; - "st") cd $HOME/suckless/st/ ;; - "tfd") cd $HOME/Documents/flixel/TheFiniteDemo/ ;; - "tst") tabbed -c st -w ;; - "v") cd $HOME/.vst/ ;; - "vsv") cd $HOME/.local/volsv ;; - "z") cd $ZDOTDIR/ ;; - "zx") cd $HOME/Documents/zachir.xyz/ ;; - *) cd $1 ;; - esac - fi -} |