Various Linux scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
448 B

#!/bin/bash
write() {
# urxvtc -fn 'xft:TrixiePro:pixelsize=20' \
# -e bash -c "vim '+colorscheme $1' '+Goyo 60%' $2"
st -f 'TrixiePro:pixelsize=30' \
-e bash -c "nvim '+colorscheme $1' '+Goyo 60%' $2"
}
WRITE_DIR="$HOME/FILES/Docs/WRITE/"
WRITE_FILE=$(cd "$WRITE_DIR" && \ls -d */* | grep -v nohup.out | rofi -dmenu)
if [ -z "$WRITE_FILE" ]; then
WRITE_FILE="WIKI/$(\date +%Y-%m-%d).wiki"
fi
write OneHalfDark "$WRITE_DIR/$WRITE_FILE"