diff --git a/install.sh b/install.sh index c54647f7..9af960f3 100755 --- a/install.sh +++ b/install.sh @@ -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" diff --git a/local/bin/dmenu-edit b/local/bin/dmenu-edit new file mode 100755 index 00000000..4e9fe07e --- /dev/null +++ b/local/bin/dmenu-edit @@ -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) diff --git a/local/bin/nextcloud-sync b/local/bin/nextcloud-sync index 88500a97..56a23615 100755 --- a/local/bin/nextcloud-sync +++ b/local/bin/nextcloud-sync @@ -1,6 +1,6 @@ #!/bin/bash -source $HOME/.nextcloud +source $HOME/.config/nextcloud/nextcloud rm -rf /tmp/nextcloud.out rm -rf /tmp/nextcloud.err