1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash |
||||
|
||||
write() { |
||||
# urxvtc -fn 'xft:TrixiePro:pixelsize=20' \ |
||||
# -e bash -c "vim '+colorscheme $1' '+Goyo 60%' $2" |
||||
xst -f 'TrixiePro:pixelsize=24' \ |
||||
-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" |
||||
|
Loading…
Reference in new issue