aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-01-22 16:39:17 -0200
committerEuAndreh <eu@euandre.org>2019-01-22 16:39:17 -0200
commit5e0919db80267d5ed476c744e3f13f8d8f711571 (patch)
tree8cdb09cdb57bc05e2411f60ef2c40d7a30d56eea
parentRemove $HOME variable from npmrc.sh. (diff)
downloaddotfiles-5e0919db80267d5ed476c744e3f13f8d8f711571.tar.gz
dotfiles-5e0919db80267d5ed476c744e3f13f8d8f711571.tar.xz
Nextcloud -> ownCloud
Client change only.
-rw-r--r--bash/env.sh4
-rw-r--r--bash/youtube.sh2
-rw-r--r--nixos/configuration.nix3
-rwxr-xr-xscripts/backup.sh2
-rwxr-xr-xscripts/cp-todos.sh4
-rwxr-xr-xscripts/once-only-nextcloud.sh9
-rwxr-xr-xscripts/once-only-owncloud.sh9
-rw-r--r--spacemacs.el7
-rw-r--r--xmonad/xmonad.hs2
9 files changed, 21 insertions, 21 deletions
diff --git a/bash/env.sh b/bash/env.sh
index d8233be..a0b750f 100644
--- a/bash/env.sh
+++ b/bash/env.sh
@@ -1,7 +1,5 @@
#!/usr/bin/env bash
-export PATH="$HOME/Nextcloud/bin/:$PATH"
-
#
# Git Annex
#
@@ -33,7 +31,7 @@ export EDITOR=vi
export PATH="$DOTFILES/scripts/:$PATH"
export PATH="$DOTFILES/encrypted/scripts/:$PATH"
export INPUTRC=~/.inputrc
-export CACHE_DIR="$HOME/Nextcloud/cache"
+export CACHE_DIR="$HOME/ownCloud/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 19c9af0..14d0371 100644
--- a/bash/youtube.sh
+++ b/bash/youtube.sh
@@ -12,7 +12,7 @@ export -f yt_dl
download() {
youtube-dl "$1" \
- --download-archive ~/Nextcloud/cache/youtube-dl-seen.conf \
+ --download-archive ~/ownCloud/cache/youtube-dl-seen.conf \
--prefer-free-formats \
--playlist-end "$2" \
--write-description \
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 6f8c7e0..95a3b27 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -105,6 +105,7 @@
gnupg
mr
nextcloud-client
+ owncloud-client
borgbackup
git-sizer
@@ -366,7 +367,7 @@
# xmodmap -e 'keycode 118 = bar Greek_lamda'
sessionCommands = ''
${pkgs.haskellPackages.xmobar}/bin/xmobar ~/.xmobarrc &
- ${pkgs.fvwm}/bin/xpmroot ~/Nextcloud/Images/emotion.png &
+ ${pkgs.fvwm}/bin/xpmroot ~/ownCloud/Images/emotion.png &
'';
};
};
diff --git a/scripts/backup.sh b/scripts/backup.sh
index 6a4de25..f31a503 100755
--- a/scripts/backup.sh
+++ b/scripts/backup.sh
@@ -27,7 +27,7 @@ borg create \
--progress \
--compression lzma,6 \
~/borgbackup::"{hostname}-{now}-${BACKUP_TAG}" \
- ~/Nextcloud/ \
+ ~/ownCloud/ \
~/mbsync/
# add folders to be backed up here
green "Done"
diff --git a/scripts/cp-todos.sh b/scripts/cp-todos.sh
index d8e6f30..e839ae8 100755
--- a/scripts/cp-todos.sh
+++ b/scripts/cp-todos.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
-cp "$HOME/annex/txt/TODOs.org" "$HOME/Nextcloud/Notes/org.txt"
-cp "$HOME/annex/txt/TODOs.org" "$HOME/Nextcloud/cache/TODOs.org"
+cp "$HOME/annex/txt/TODOs.org" "$HOME/ownCloud/Notes/org.txt"
+cp "$HOME/annex/txt/TODOs.org" "$HOME/ownCloud/cache/TODOs.org"
diff --git a/scripts/once-only-nextcloud.sh b/scripts/once-only-nextcloud.sh
deleted file mode 100755
index 7886b6f..0000000
--- a/scripts/once-only-nextcloud.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-
-if [ "$(pidof nextcloud)" ]
-then
- echo "Nextcloud already running."
-else
- echo "Nextcloud not running yet. Starting it."
- nextcloud & disown
-fi
diff --git a/scripts/once-only-owncloud.sh b/scripts/once-only-owncloud.sh
new file mode 100755
index 0000000..66b3ee4
--- /dev/null
+++ b/scripts/once-only-owncloud.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+if [ "$(pidof owncloud)" ]
+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 9c19ac2..f30415d 100644
--- a/spacemacs.el
+++ b/spacemacs.el
@@ -576,7 +576,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 "~/Nextcloud/Notes/TODOs.txt")))
+ ("M-]" . (lambda () (interactive) (find-file "~/ownCloud/Notes/TODOs.txt")))
("M-s-q" . (lambda () (interactive) (insert "/")))
("M-s-w" . (lambda () (interactive) (insert "?")))
("M-s-a" . (lambda () (interactive) (insert "\\")))
@@ -728,7 +728,7 @@ This is the place where most of your configurations should be done. Unless it is
;; - http://cachestocaches.com/2016/9/my-workflow-org-agenda
;; - http://doc.norang.ca/org-mode.html
org-todo-keywords '((sequence "TODO" "NEXT" "WAITING" "INACTIVE" "CANCELLED" "MEETING" "DOING" "|" "DONE"))
- org-agenda-files '("~/Nextcloud/txt/TODOs.org")
+ org-agenda-files '("~/ownCloud/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"
@@ -778,7 +778,8 @@ This function is called at the very end of Spacemacs initialization."
;; If there is more than one, they won't work right.
'(ledger-reports
(quote
- (("balance" "ledger -f money.ledger balance Assets Liabilities"))))
+ (("balance-rs" "ledger -f money.ledger balance Assets Liabilities -V")
+ ("balance" "ledger -f money.ledger balance Assets Liabilities"))))
'(package-selected-packages
(quote
(selectric-mode ob-rust fireplace writeroom-mode visual-fill-column yasnippet-snippets yapfify yaml-mode xterm-color ws-butler winum which-key web-mode web-beautify volatile-highlights vi-tilde-fringe uuidgen use-package unicode-fonts unfill toml-mode toc-org tide tagedit systemd symon swift-mode string-inflection sql-indent spaceline-all-the-icons smeargle slime-company slim-mode shell-pop seeing-is-believing scss-mode sass-mode rvm ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restclient-helm restart-emacs rbenv rake rainbow-delimiters racer pyvenv pytest pyenv-mode py-isort pug-mode psci psc-ide prettier-js powershell popwin pippel pipenv pip-requirements persp-mode perl6-mode pdf-tools password-generator paradox ox-reveal overseer orgit org-projectile org-present org-pomodoro org-mime org-download org-bullets org-brain open-junk-file ob-restclient ob-http ob-elixir nov nix-mode neotree nameless mwim multi-term move-text mmm-mode minitest markdown-toc magit-svn magit-gitflow lorem-ipsum livid-mode live-py-mode link-hint json-navigator js2-refactor js-doc jinja2-mode interleave insert-shebang indent-guide importmagic impatient-mode hungry-delete hlint-refactor hl-todo hindent highlight-parentheses highlight-numbers highlight-indentation helm-xref helm-themes helm-swoop helm-rtags helm-pydoc helm-purpose helm-projectile helm-org-rifle helm-notmuch helm-nixos-options helm-mode-manager helm-make helm-hoogle helm-gitignore helm-git-grep helm-flx helm-descbinds helm-css-scss helm-company helm-c-yasnippet helm-ag haskell-snippets google-translate google-c-style golden-ratio gnuplot gitignore-templates gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gh-md geiser fuzzy font-lock+ flyspell-correct-helm flycheck-rust flycheck-rtags flycheck-pos-tip flycheck-perl6 flycheck-mix flycheck-ledger flycheck-haskell flycheck-elm flycheck-credo flycheck-bashate flx-ido fish-mode fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-matchit evil-magit evil-lisp-state evil-lion evil-ledger evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu eshell-z eshell-prompt-extras esh-help erlang emmet-mode elm-test-runner elm-mode elisp-slime-nav editorconfig dumb-jump dotenv-mode doom-modeline dockerfile-mode docker disaster diminish diff-hl define-word debbugs cython-mode csv-mode counsel-projectile company-web company-tern company-statistics company-shell company-rtags company-restclient company-plsense company-nixos-options company-lua company-ghci company-cabal company-c-headers company-auctex company-ansible company-anaconda common-lisp-snippets column-enforce-mode cmm-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode clang-format cider-eval-sexp-fu chruby centered-cursor-mode cargo bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile auctex-latexmk ansible-doc ansible alchemist aggressive-indent adoc-mode ace-window ace-link ace-jump-helm-line ac-ispell))))
diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs
index 8c12ae5..c266676 100644
--- a/xmonad/xmonad.hs
+++ b/xmonad/xmonad.hs
@@ -115,5 +115,5 @@ startup = do
spawn "xmobar ~/.xmobarrc"
spawn "killall trayer; trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x191970 --height 17 --monitor 1"
spawn "nm-applet"
- spawn "~/annex/dev/code/dotfiles/scripts/once-only-nextcloud.sh"
+ spawn "~/annex/dev/code/dotfiles/scripts/once-only-owncloud.sh"
setWMName "LG3D" -- https://stackoverflow.com/questions/30742662/java-swing-gui-not-displaying-in-xmonad