From 5e74241bb8b2a672a7adcc4a8b6e1dea03f2f5a2 Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 10 Feb 2023 12:32:43 -0600 Subject: remove unnecessary cruft --- mksh/mkshfunc | 58 ---------------------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 mksh/mkshfunc (limited to 'mksh/mkshfunc') 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 -} -- cgit v1.2.3