From 2d06bcb024bc34f8a6e5243a3af20b58005e83bd Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 3 Sep 2022 17:04:47 +0800 Subject: [PATCH] fix: remove virtcam on startup --- gui/awesome/autostart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/awesome/autostart b/gui/awesome/autostart index 025b68a..4e0177c 100755 --- a/gui/awesome/autostart +++ b/gui/awesome/autostart @@ -5,7 +5,7 @@ ! /bin/pgrep flameshot && flameshot & ! /bin/pgrep nm-applet && nm-applet & ! /bin/pgrep copyq && copyq & -! /bin/pgrep -f "lua virtcam.lua" && cd ~/dotfiles/gui/virtcam && lua virtcam.lua & +# ! /bin/pgrep -f "lua virtcam.lua" && cd ~/dotfiles/gui/virtcam && lua virtcam.lua & # input method ibus-daemon -drx @@ -28,3 +28,6 @@ fi # fix pulseaudio echo-cancel side effect pactl set-source-volume @DEFAULT_SOURCE@ 100% + + +DOW=$(date +%u); [ "$DOW" -ge 1 ] && [ "$DOW" -le 5 ] && gpg -d "$(ls ~/.password-store/*.gpg | head -n 1)" > /dev/null