From 23507f23d9bb11a6043423686f4907edba755b2a Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Tue, 26 May 2020 08:36:28 +0200 Subject: [PATCH] Improve buku systemd timer --- dotfiles/applications.org | 3 ++- dotfiles/systemd.org | 12 ++++++++++-- dotfiles/xconfig.org | 17 ++++++++++------- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/dotfiles/applications.org b/dotfiles/applications.org index 6bf05e8..67bceca 100644 --- a/dotfiles/applications.org +++ b/dotfiles/applications.org @@ -150,11 +150,12 @@ [Desktop Entry] Name=org-protocol Exec=emacsclient %u + Icon=emacs-icon Type=Application Terminal=false - Categories=System; MimeType=x-scheme-handler/org-protocol; #+end_src + * Ranger :PROPERTIES: :header-args: :tangle ~/.local/share/applications/ranger.desktop diff --git a/dotfiles/systemd.org b/dotfiles/systemd.org index 641b8d6..3cc69b6 100644 --- a/dotfiles/systemd.org +++ b/dotfiles/systemd.org @@ -68,7 +68,15 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage- :END: #+begin_src bash - pass git pull --rebase && pass git push + cd ~/.local/share/buku/ || exit + + if [[ ! -z $(git status -s bookmarks.db) ]] + then + git add bookmarks.db + git commit -m "Changed bookmarks - $(date +%F)" + git push + exit + fi #+end_src * Buku Git @@ -233,7 +241,7 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage- if pgrep -f 'mu server'; then emacsclient --eval '(mu4e-update-index)' else - mu index --maildir=~/.mail $opt_verbose $opt_quiet + mu index $opt_verbose $opt_quiet fi # ============================================================= #+end_src diff --git a/dotfiles/xconfig.org b/dotfiles/xconfig.org index f4f24b8..365f861 100644 --- a/dotfiles/xconfig.org +++ b/dotfiles/xconfig.org @@ -412,6 +412,7 @@ Keyboard Options #+begin_src bash # Set repetition keyboard rate xset r rate 200 40 & + # Set International US keyboard layout setxkbmap -layout us -variant intl -option caps:escape & #+end_src @@ -444,14 +445,8 @@ Start the applications related to the top bar (polybar + applet). # Start Network Management Framework # nm-applet & - # Start Power Manager - xfce4-power-manager & - # Bluetooth Manager - blueman-applet & - - # Aria2c daemon - aria2c & + # blueman-applet & # Synology Cloud Station Drive synology-drive & @@ -461,7 +456,15 @@ Start the applications related to the top bar (polybar + applet). udiskie --automount --notify --tray & #+end_src +Start other applications #+begin_src bash + # Start Power Manager + xfce4-power-manager & + + # Aria2c daemon + aria2c & + + # Mopidy mopidy --config ~/.config/mopidy/mopidy.conf >/dev/null 2>&1 & #+end_src