Improve buku systemd timer
This commit is contained in:
parent
abb120e34c
commit
23507f23d9
@ -150,11 +150,12 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=org-protocol
|
Name=org-protocol
|
||||||
Exec=emacsclient %u
|
Exec=emacsclient %u
|
||||||
|
Icon=emacs-icon
|
||||||
Type=Application
|
Type=Application
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=System;
|
|
||||||
MimeType=x-scheme-handler/org-protocol;
|
MimeType=x-scheme-handler/org-protocol;
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Ranger
|
* Ranger
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.local/share/applications/ranger.desktop
|
:header-args: :tangle ~/.local/share/applications/ranger.desktop
|
||||||
|
@ -68,7 +68,15 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+begin_src bash
|
#+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
|
#+end_src
|
||||||
|
|
||||||
* Buku Git
|
* Buku Git
|
||||||
@ -233,7 +241,7 @@ https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-
|
|||||||
if pgrep -f 'mu server'; then
|
if pgrep -f 'mu server'; then
|
||||||
emacsclient --eval '(mu4e-update-index)'
|
emacsclient --eval '(mu4e-update-index)'
|
||||||
else
|
else
|
||||||
mu index --maildir=~/.mail $opt_verbose $opt_quiet
|
mu index $opt_verbose $opt_quiet
|
||||||
fi
|
fi
|
||||||
# =============================================================
|
# =============================================================
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -412,6 +412,7 @@ Keyboard Options
|
|||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
# Set repetition keyboard rate
|
# Set repetition keyboard rate
|
||||||
xset r rate 200 40 &
|
xset r rate 200 40 &
|
||||||
|
|
||||||
# Set International US keyboard layout
|
# Set International US keyboard layout
|
||||||
setxkbmap -layout us -variant intl -option caps:escape &
|
setxkbmap -layout us -variant intl -option caps:escape &
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -444,14 +445,8 @@ Start the applications related to the top bar (polybar + applet).
|
|||||||
# Start Network Management Framework
|
# Start Network Management Framework
|
||||||
# nm-applet &
|
# nm-applet &
|
||||||
|
|
||||||
# Start Power Manager
|
|
||||||
xfce4-power-manager &
|
|
||||||
|
|
||||||
# Bluetooth Manager
|
# Bluetooth Manager
|
||||||
blueman-applet &
|
# blueman-applet &
|
||||||
|
|
||||||
# Aria2c daemon
|
|
||||||
aria2c &
|
|
||||||
|
|
||||||
# Synology Cloud Station Drive
|
# Synology Cloud Station Drive
|
||||||
synology-drive &
|
synology-drive &
|
||||||
@ -461,7 +456,15 @@ Start the applications related to the top bar (polybar + applet).
|
|||||||
udiskie --automount --notify --tray &
|
udiskie --automount --notify --tray &
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Start other applications
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
|
# Start Power Manager
|
||||||
|
xfce4-power-manager &
|
||||||
|
|
||||||
|
# Aria2c daemon
|
||||||
|
aria2c &
|
||||||
|
|
||||||
|
# Mopidy
|
||||||
mopidy --config ~/.config/mopidy/mopidy.conf >/dev/null 2>&1 &
|
mopidy --config ~/.config/mopidy/mopidy.conf >/dev/null 2>&1 &
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user