Add weechat systemd service
This commit is contained in:
parent
0a3e236b8d
commit
257ea6a686
@ -1515,3 +1515,15 @@ Colors
|
|||||||
|
|
||||||
* TODO [#A] Binaries
|
* TODO [#A] Binaries
|
||||||
* TODO [#A] Scripts
|
* TODO [#A] Scripts
|
||||||
|
** Wallpapers
|
||||||
|
:PROPERTIES:
|
||||||
|
:header-args: :tangle ~/scripts/wallpapers.sh
|
||||||
|
:header-args+: :comments both :mkdirp yes
|
||||||
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
|
:END:
|
||||||
|
#+begin_src bash
|
||||||
|
while true; do
|
||||||
|
nitrogen --set-zoom-fill --random ".wallpapers"
|
||||||
|
sleep 10m
|
||||||
|
done
|
||||||
|
#+end_src
|
||||||
|
@ -224,6 +224,7 @@
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Vdirsyncer
|
* Vdirsyncer
|
||||||
** Service
|
** Service
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@ -258,3 +259,22 @@
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=timers.target
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* Weechat
|
||||||
|
** Service
|
||||||
|
:PROPERTIES:
|
||||||
|
:header-args: :tangle ~/.config/systemd/user/weechat.service
|
||||||
|
:header-args+: :comments both :mkdirp yes
|
||||||
|
:END:
|
||||||
|
#+begin_src conf
|
||||||
|
[Unit]
|
||||||
|
Description=A WeeChat client and relay service using Tmux
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/bin/tmux -L weechat new -d -s weechat weechat
|
||||||
|
ExecStop=/usr/bin/tmux -L weechat kill-session -t weechat
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
#+end_src
|
||||||
|
26
readme.org
26
readme.org
@ -594,10 +594,22 @@ To install mpc: =yay -S mpc=.
|
|||||||
| =mpc update= | Update the library |
|
| =mpc update= | Update the library |
|
||||||
| =mpc rescan= | Rescan the library |
|
| =mpc rescan= | Rescan the library |
|
||||||
|
|
||||||
** TODO Audio Server with Spotify - Mopidy
|
** TODO [#A] Audio Server with Spotify - Mopidy
|
||||||
https://github.com/mopidy/mopidy
|
https://github.com/mopidy/mopidy
|
||||||
https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8
|
https://medium.com/@theos.space/using-mopidy-with-spotify-and-ncmpcpp-44352f4a2ce8
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
yay -S mopidy mopidy-spotify
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
To update local files:
|
||||||
|
#+begin_src bash
|
||||||
|
mopidy local scan
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
If mopidy is used, MPD should be disabled. (=systemctl disable --user mpd.service=)
|
||||||
|
Also, when using mopidy, when pausing a song, playing it again does not work.
|
||||||
|
=> *is there a fix for that?*
|
||||||
** MPD Client - ncmpcpp
|
** MPD Client - ncmpcpp
|
||||||
https://wiki.archlinux.org/index.php/Ncmpcpp
|
https://wiki.archlinux.org/index.php/Ncmpcpp
|
||||||
|
|
||||||
@ -751,6 +763,7 @@ This looks for contacts in your emails.
|
|||||||
* TODO Chat Application
|
* TODO Chat Application
|
||||||
** Weechat
|
** Weechat
|
||||||
https://weechat.org/files/doc/stable/weechat_user.en.html
|
https://weechat.org/files/doc/stable/weechat_user.en.html
|
||||||
|
https://wiki.archlinux.org/index.php/WeeChat
|
||||||
|
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
@ -879,6 +892,13 @@ If you don't want to store your API token in plaintext you can use the secure fe
|
|||||||
/set plugins.var.python.slack.slack_api_token ${sec.data.slack_token}
|
/set plugins.var.python.slack.slack_api_token ${sec.data.slack_token}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Notifications
|
||||||
|
https://github.com/s3rvac/weechat-notify-send
|
||||||
|
|
||||||
|
*** Deamon and Client
|
||||||
|
Weechat is started with the systemd service =weechat=.
|
||||||
|
It runs weechat inside tmux.
|
||||||
|
|
||||||
** TODO Using Emacs
|
** TODO Using Emacs
|
||||||
* Redshift
|
* Redshift
|
||||||
http://jonls.dk/redshift/
|
http://jonls.dk/redshift/
|
||||||
@ -1222,6 +1242,10 @@ yay -S lxappearance
|
|||||||
yay -S zukitwo-themes faenza-icon-theme
|
yay -S zukitwo-themes faenza-icon-theme
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
yay -S arc-gtk-theme
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** QT Themes
|
** QT Themes
|
||||||
Run ~qt5ct~ to manage QT Themes.
|
Run ~qt5ct~ to manage QT Themes.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user