~tardypad/dotfiles

eccda5d6da93b2cba55477fbf6ee52e5b8d7c3b2 — Damien Tardy-Panis 29 days ago fdd275c
Add new passphrase_command in weechat instead of env variable
3 files changed, 20 insertions(+), 1 deletions(-)

M config/apps
M files/configs/weechat/Makefile
A files/configs/weechat/config.d/sec.conf
M config/apps => config/apps +1 -1
@@ 1,4 1,4 @@
chat_client       alacritty -e tmux new-session -A -s chat "WEECHAT_PASSPHRASE=$(pass perso/weechat) weechat"
chat_client       alacritty -e tmux new-session -A -s chat weechat
document_viewer   zathura
image_viewer      imv
mail_client       alacritty -e tmux new-session -A -s mail "aerc"

M files/configs/weechat/Makefile => files/configs/weechat/Makefile +1 -0
@@ 15,6 15,7 @@ weechat-configs:
	$(setup_file)/configs/weechat/config.d/python.conf                      > $(DESTDIR)$(HOME)/.weechat/python.conf
	$(setup_file)/configs/weechat/config.d/relay.conf                       > $(DESTDIR)$(HOME)/.weechat/relay.conf
	$(setup_file)/configs/weechat/config.d/script.conf                      > $(DESTDIR)$(HOME)/.weechat/script.conf
	$(setup_file)/configs/weechat/config.d/sec.conf                         > $(DESTDIR)$(HOME)/.weechat/sec.conf
	$(setup_file)/configs/weechat/config.d/spell.conf                       > $(DESTDIR)$(HOME)/.weechat/spell.conf
	$(setup_file)/configs/weechat/config.d/trigger.conf                     > $(DESTDIR)$(HOME)/.weechat/trigger.conf
	$(setup_file)/configs/weechat/config.d/weechat.conf                     > $(DESTDIR)$(HOME)/.weechat/weechat.conf

A files/configs/weechat/config.d/sec.conf => files/configs/weechat/config.d/sec.conf +18 -0
@@ 0,0 1,18 @@
#
# weechat -- sec.conf
#
# WARNING: It is NOT recommended to edit this file by hand,
# especially if WeeChat is running.
#
# Use /set or similar command to change settings in WeeChat.
#
# For more info, see: https://weechat.org/doc/quickstart
#

[crypt]
cipher = aes256
hash_algo = sha256
passphrase_command = "pass perso/weechat"
salt = on

[data]