Improve buku systemd timer

This commit is contained in:
Thomas Dehaeze 2020-05-26 08:36:28 +02:00
parent abb120e34c
commit 23507f23d9
3 changed files with 22 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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