Add weechat systemd service
This commit is contained in:
parent
0a3e236b8d
commit
257ea6a686
@ -1515,3 +1515,15 @@ Colors
|
||||
|
||||
* TODO [#A] Binaries
|
||||
* 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]
|
||||
WantedBy=default.target
|
||||
#+END_SRC
|
||||
|
||||
* Vdirsyncer
|
||||
** Service
|
||||
:PROPERTIES:
|
||||
@ -258,3 +259,22 @@
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
#+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
|
||||
|
70
readme.org
70
readme.org
@ -594,10 +594,22 @@ To install mpc: =yay -S mpc=.
|
||||
| =mpc update= | Update 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://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
|
||||
https://wiki.archlinux.org/index.php/Ncmpcpp
|
||||
|
||||
@ -751,6 +763,7 @@ This looks for contacts in your emails.
|
||||
* TODO Chat Application
|
||||
** Weechat
|
||||
https://weechat.org/files/doc/stable/weechat_user.en.html
|
||||
https://wiki.archlinux.org/index.php/WeeChat
|
||||
|
||||
*** Installation
|
||||
#+begin_src bash
|
||||
@ -781,26 +794,26 @@ https://www.bfoliver.com/technology/2017/07/15/weechat/
|
||||
https://alexjj.com/blog/2016/9/setting-up-weechat/
|
||||
|
||||
#+begin_src conf
|
||||
/set weechat.look.prefix_same_nick "⤷"
|
||||
/set weechat.look.prefix_error "⚠"
|
||||
/set weechat.look.prefix_action "⚡"
|
||||
/set weechat.look.bar_more_down "▼▼"
|
||||
/set weechat.look.bar_more_left "◀◀"
|
||||
/set weechat.look.bar_more_right "▶▶"
|
||||
/set weechat.look.bar_more_up "▲▲"
|
||||
/set weechat.look.prefix_suffix "╡"
|
||||
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
||||
/set weechat.color.separator 31
|
||||
/set buffers.color.current_fg 31
|
||||
/set buffers.color.current_bg white
|
||||
/set buffers.color.hotlist_message_fg 229
|
||||
/set buffers.color.hotlist_private_fg 121
|
||||
/set buffers.color.hotlist_highlight_fg 163
|
||||
/set buffers.color.number 239
|
||||
/set buffers.color.number_char 245
|
||||
/set weechat.bar.title.conditions "${inactive}"
|
||||
/set weechat.bar.title.color_fg black
|
||||
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
||||
/set weechat.look.prefix_same_nick "⤷"
|
||||
/set weechat.look.prefix_error "⚠"
|
||||
/set weechat.look.prefix_action "⚡"
|
||||
/set weechat.look.bar_more_down "▼▼"
|
||||
/set weechat.look.bar_more_left "◀◀"
|
||||
/set weechat.look.bar_more_right "▶▶"
|
||||
/set weechat.look.bar_more_up "▲▲"
|
||||
/set weechat.look.prefix_suffix "╡"
|
||||
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
||||
/set weechat.color.separator 31
|
||||
/set buffers.color.current_fg 31
|
||||
/set buffers.color.current_bg white
|
||||
/set buffers.color.hotlist_message_fg 229
|
||||
/set buffers.color.hotlist_private_fg 121
|
||||
/set buffers.color.hotlist_highlight_fg 163
|
||||
/set buffers.color.number 239
|
||||
/set buffers.color.number_char 245
|
||||
/set weechat.bar.title.conditions "${inactive}"
|
||||
/set weechat.bar.title.color_fg black
|
||||
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
||||
#+end_src
|
||||
|
||||
*** TODO Configuration
|
||||
@ -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}
|
||||
#+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
|
||||
* Redshift
|
||||
http://jonls.dk/redshift/
|
||||
@ -1214,14 +1234,18 @@ To customize the look of the system using GUI application, run ~lxappearance~.
|
||||
|
||||
Installation:
|
||||
#+BEGIN_SRC bash
|
||||
yay -S lxappearance
|
||||
yay -S lxappearance
|
||||
#+END_SRC
|
||||
|
||||
*** Icons and themes
|
||||
#+BEGIN_SRC bash
|
||||
yay -S zukitwo-themes faenza-icon-theme
|
||||
yay -S zukitwo-themes faenza-icon-theme
|
||||
#+END_SRC
|
||||
|
||||
#+begin_src bash
|
||||
yay -S arc-gtk-theme
|
||||
#+end_src
|
||||
|
||||
** QT Themes
|
||||
Run ~qt5ct~ to manage QT Themes.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user