diff options
author | EuAndreh <eu@euandre.org> | 2019-06-02 12:44:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-02 12:44:57 -0300 |
commit | a77ac3d93d3d03dace26c3876befca1db877f0c3 (patch) | |
tree | 5d41bcd4bbb88ae98105b945412653390407c17f | |
parent | Store borg updated files after borg create run (diff) | |
download | dotfiles-a77ac3d93d3d03dace26c3876befca1db877f0c3.tar.gz dotfiles-a77ac3d93d3d03dace26c3876befca1db877f0c3.tar.xz |
Move definitely from ownCloud to Nextcloud
-rw-r--r-- | bash/env.sh | 2 | ||||
-rw-r--r-- | bash/youtube.sh | 2 | ||||
-rw-r--r-- | nixos/configuration.nix | 2 | ||||
-rwxr-xr-x | scripts/backup.sh | 1 | ||||
-rwxr-xr-x | scripts/once-only-nextcloud.sh | 9 | ||||
-rwxr-xr-x | scripts/once-only-owncloud.sh | 9 | ||||
-rw-r--r-- | spacemacs.el | 4 |
7 files changed, 14 insertions, 15 deletions
diff --git a/bash/env.sh b/bash/env.sh index 41b8975..92833d4 100644 --- a/bash/env.sh +++ b/bash/env.sh @@ -30,7 +30,7 @@ export PATH=~/.local/bin:$PATH export EDITOR=vi export PATH="$DOTFILES/scripts/:$PATH" export INPUTRC=~/.inputrc -export CACHE_DIR="$HOME/ownCloud/cache" +export CACHE_DIR="$HOME/Nextcloud/cache" export PATH="$HOME/dev/libre/website/:$PATH" export PATH="$DOTFILES/bin:$PATH" export PATH="$HOME/dev/misc/flutter/bin:$PATH" diff --git a/bash/youtube.sh b/bash/youtube.sh index 275e0b8..c2882e1 100644 --- a/bash/youtube.sh +++ b/bash/youtube.sh @@ -12,7 +12,7 @@ export -f yt_dl download() { youtube-dl "$1" \ - --download-archive ~/ownCloud/cache/youtube-dl-seen.conf \ + --download-archive ~/Nextcloud/cache/youtube-dl-seen.conf \ --prefer-free-formats \ --playlist-end "$2" \ --write-description \ diff --git a/nixos/configuration.nix b/nixos/configuration.nix index fa5138a..d2d27b3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -363,7 +363,7 @@ in { # xmodmap -e 'keycode 118 = bar Greek_lamda' sessionCommands = '' ${pkgs.haskellPackages.xmobar}/bin/xmobar ~/.xmobarrc & - ${pkgs.fvwm}/bin/xpmroot ~/ownCloud/Images/emotion.png & + ${pkgs.fvwm}/bin/xpmroot ~/Nextcloud/Images/emotion.png & ''; }; }; diff --git a/scripts/backup.sh b/scripts/backup.sh index 73ef1c8..7501d1d 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -43,7 +43,6 @@ borg create \ --progress \ --compression lzma,6 \ ~/borgbackup::"{hostname}-{now}-${BACKUP_TAG}" \ - ~/ownCloud/ \ ~/Nextcloud/ \ ~/mbsync/ \ ~/archive/ \ diff --git a/scripts/once-only-nextcloud.sh b/scripts/once-only-nextcloud.sh new file mode 100755 index 0000000..7754c34 --- /dev/null +++ b/scripts/once-only-nextcloud.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [ "$(pidof nextcloud)" ] +then + echo "Nextcloud already running." +else + echo "Nextcloud not running yet. Starting it." + owncloud & disown +fi diff --git a/scripts/once-only-owncloud.sh b/scripts/once-only-owncloud.sh deleted file mode 100755 index 874ba56..0000000 --- a/scripts/once-only-owncloud.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -if [ "$(pidof nextcloud)" ] -then - echo "ownCloud already running." -else - echo "ownCloud not running yet. Starting it." - owncloud & disown -fi diff --git a/spacemacs.el b/spacemacs.el index d90fba8..f45be89 100644 --- a/spacemacs.el +++ b/spacemacs.el @@ -578,7 +578,7 @@ dump." ("M-p" . (lambda () (interactive) (find-file "~/annex/txt/money.ledger"))) ("M-SPC" . (lambda () (interactive) (just-one-space -1))) ("M-[" . (lambda () (interactive) (find-file "~/tmp/scratch.org"))) - ("M-]" . (lambda () (interactive) (find-file "~/ownCloud/Notes/TODOs.txt"))) + ("M-]" . (lambda () (interactive) (find-file "~/Nextcloud/Notes/TODOs.txt"))) ("M-s-q" . (lambda () (interactive) (insert "/"))) ("M-s-w" . (lambda () (interactive) (insert "?"))) ("M-s-a" . (lambda () (interactive) (insert "\\"))) @@ -741,7 +741,7 @@ This is the place where most of your configurations should be done. Unless it is ("CANCELLED" . (:foreground "green" :weight bold)) ("DONE" . (:foreground "green" :weight bold))) - org-agenda-files '("~/ownCloud/txt/TODOs.org") + org-agenda-files '("~/Nextcloud/txt/TODOs.org") org-columns-default-format "%50ITEM(Task) %10CLOCKSUM %16TIMESTAMP_IA" org-default-notes-file "~/annex/txt/TODOs.org" org-scratch-notes-file "~/annex/txt/TODOs.org" |