Minor changes

This commit is contained in:
Thomas Dehaeze 2022-02-06 21:51:52 +01:00
parent 6575b0c6f9
commit a5e999a419
2 changed files with 13 additions and 23 deletions

View File

@ -5,6 +5,15 @@
#+PROPERTY: header-args:bash+ :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:bash+ :shebang "#!/usr/bin/env bash"
#+PROPERTY: header-args:bash+ :tangle-mode (identity #o555) #+PROPERTY: header-args:bash+ :tangle-mode (identity #o555)
* =qutebrowser=
:PROPERTIES:
:CUSTOM_ID: qutebrowser
:END:
#+begin_src bash :tangle ~/.local/bin/qutebrowser
~/.local/soft/qutebrowser/.venv/bin/python3 -m qutebrowser "$@"
#+end_src
* =remote-desktop= - Remote Desktop Connect * =remote-desktop= - Remote Desktop Connect
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: remote-desktop :CUSTOM_ID: remote-desktop

View File

@ -164,7 +164,7 @@ fi
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 $opt_verbose $opt_quiet mu index -m ~/.mail $opt_verbose $opt_quiet
fi fi
# ============================================================= # =============================================================
#+end_src #+end_src
@ -251,7 +251,7 @@ AccuracySec=5m
WantedBy=timers.target WantedBy=timers.target
#+end_src #+end_src
* =ssh-agent= - SSH Agent * TODO =ssh-agent= - SSH Agent
** Service ** Service
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/ssh-agent.service :header-args: :tangle ~/.config/systemd/user/ssh-agent.service
@ -271,26 +271,7 @@ ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
WantedBy=default.target WantedBy=default.target
#+end_src #+end_src
* =powertop= - Powertop * TODO =emacs= - Emacs
** Service
:PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/powertop.service
:header-args+: :comments both :mkdirp yes
:END:
#+begin_src conf
[Unit]
Description=Powertop tunings
[Service]
ExecStart=/usr/bin/powertop --auto-tune
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
#+end_src
* =emacs= - Emacs
** Service ** Service
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/emacs.service :header-args: :tangle ~/.config/systemd/user/emacs.service
@ -312,7 +293,7 @@ Restart=on-failure
WantedBy=default.target WantedBy=default.target
#+end_src #+end_src
* =trash-empty= - Empty the trash for files older than 30 days * TODO =trash-empty= - Empty the trash for files older than 30 days
** Service ** Service
:PROPERTIES: :PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/trash-empty.service :header-args: :tangle ~/.config/systemd/user/trash-empty.service