From 642c2e49f39c6a67cf199adc9c62208f9182f8b3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 28 Jun 2021 07:30:27 +0300 Subject: Reverted dunstctl reverting in lock script --- .i3lock/lock.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.i3lock/lock.sh b/.i3lock/lock.sh index abce85f..1c2a304 100755 --- a/.i3lock/lock.sh +++ b/.i3lock/lock.sh @@ -2,13 +2,10 @@ if [ $(grep -r "RUNNING" /proc/asound | wc -l) -eq 0 ] || [[ $# -ne 0 ]]; then # Disables dunst, my notification daemon, so I don't see notification on lock screen - # - # NOTE: Since I started using i3lock-color, dunst is never on top of lock screen, so if you want to use i3lock, uncomment the dunstctl set-paused lines - # # https://github.com/dunst-project/dunst/issues/697 # https://wiki.archlinux.org/title/Dunst#Disable_dunst_temporarily - #dunstctl set-paused true + dunstctl set-paused true if [[ "$1" == "suspend" ]]; then # Apps that are playing audio could stop being able to play audio after suspend (to fix, restart app) @@ -36,7 +33,7 @@ if [ $(grep -r "RUNNING" /proc/asound | wc -l) -eq 0 ] || [[ $# -ne 0 ]]; then --insidever-color d47408cc --ringver-color d47408 --insidewrong-color c35b5bcc --ringwrong-color c35b5b \ --layout-color ffeede --time-color ffeede --date-color ffeede --greeter-color ffeede --verif-color ffeede --wrong-color ffeede - #dunstctl set-paused false # Enables my notification daemon + dunstctl set-paused false # Enables my notification daemon if [[ "$1" == "suspend" ]]; then pkill tint2; gtk-launch tint2 # sometimes tint2 get's messed up and transparency breaks, this makes sure that this doesn't happen gtk-launch picom # sometimes my compositor stops working after suspend, this makes sure it's running -- cgit v1.2.3