Switch out dropbox for Syncthing

This commit is contained in:
Jeremy Dormitzer 2020-07-07 16:33:58 -04:00
parent 5c8dd94bf1
commit a06264128b

View File

@ -117,7 +117,7 @@
;; Commands ;; Commands
(defvar desktop-images-dir (defvar desktop-images-dir
(uiop:native-namestring "~/Dropbox/pictures/desktop/")) (uiop:native-namestring "~/Sync/pictures/desktop/"))
(define-stumpwm-type :desktop-image (input prompt) (define-stumpwm-type :desktop-image (input prompt)
(or (argument-pop-rest input) (or (argument-pop-rest input)
@ -183,8 +183,8 @@
(defcommand background-random () () (defcommand background-random () ()
(run-shell-command (concatenate 'string (run-shell-command (concatenate 'string
"feh --bg-scale " "feh --bg-scale "
"\"/home/jdormit/Dropbox/pictures/desktop/" "\"/home/jdormit/Sync/pictures/desktop/"
"$(ls /home/jdormit/Dropbox/pictures/desktop | shuf -n 1)\""))) "$(ls /home/jdormit/Sync/pictures/desktop | shuf -n 1)\"")))
;; Keybindings ;; Keybindings
(define-key stumpwm:*root-map* (kbd "C-f") "firefox") (define-key stumpwm:*root-map* (kbd "C-f") "firefox")
@ -234,8 +234,9 @@
;; Picom compositor ;; Picom compositor
(run-shell-command "picom -b") (run-shell-command "picom -b")
;; Dropbox
(run-shell-command "/usr/bin/dropbox > /tmp/dropbox.log 2>&1")
;; Polybar ;; Polybar
(run-shell-command "polybar top --reload >> /tmp/polybar.top.log 2>&1") (run-shell-command "polybar top --reload >> /tmp/polybar.top.log 2>&1")
;; Syncthing Tray
(run-shell-command "syncthingtray")