Browse Source

Edit script started

main
Yiğit Çolakoğlu 4 years ago
parent
commit
75c8a80bc0
3 changed files with 19 additions and 10 deletions
  1. +0
    -9
      install.sh
  2. +18
    -0
      local/bin/dmenu-edit
  3. +1
    -1
      local/bin/nextcloud-sync

+ 0
- 9
install.sh View File

@ -114,16 +114,7 @@ mkdir -p "$LEIN_HOME"
mkdir -p "$NPM_CONFIG_USERCONFIG"
mkdir -p "$NVM_DIR"
mkdir -p "$GNUPGHOME"
mkdir -p "$MBSYNCRC"
mkdir -p "$VIMINIT"
mkdir -p "$MYSQL_HISTFILE"
mkdir -p "$TASKDATA"
mkdir -p "$TASKRC"
mkdir -p "$WEECHAT_HOME"
mkdir -p "$LESSKEY"
mkdir -p "$LESSHISTFILE"
mkdir -p "$NOTMUCH_CONFIG"
mkdir -p "$NMBGIT"
mkdir -p "$JUPYTER_CONFIG_DIR"
mkdir -p "$PYLINTHOME"
touch "$_Z_DATA"


+ 18
- 0
local/bin/dmenu-edit View File

@ -0,0 +1,18 @@
#!/bin/sh
DMENU='dmenu -z 1900 -x 10 -y 10 -i'
declare -A mappings
mappings=(
["Test"]="Test"
["Test2"]="Test2"
)
items=""
for i in "${!mappings[@]}"; do
items=$(echo -e "$items\n$i")
done
selection=$(echo "$items" | tail -n +2 | $DMENU)

+ 1
- 1
local/bin/nextcloud-sync View File

@ -1,6 +1,6 @@
#!/bin/bash
source $HOME/.nextcloud
source $HOME/.config/nextcloud/nextcloud
rm -rf /tmp/nextcloud.out
rm -rf /tmp/nextcloud.err


Loading…
Cancel
Save