nixos/dotfiles/bash_files/desk/methods

22 lines
302 B
Text
Raw Normal View History

2025-06-20 11:59:24 -07:00
mp(){
nohup mousepad $1 </dev/null >/dev/null 2>&1 &
disown
}
cs(){
2025-08-12 11:58:29 -07:00
path=~/Documents/cheatsheet
2025-06-20 11:59:24 -07:00
if [[ -z "$1" ]]; then
ls $path
else
if [[ $2 = "-e" ]]; then
vim $path/$1
else
bat -pp $path/$1
fi
fi
}
timer(){
while true; do printf '%s\r' "$(date)"; done
}