summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-06-28 07:30:27 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-06-28 07:30:27 +0300
commit642c2e49f39c6a67cf199adc9c62208f9182f8b3 (patch)
tree2613cf0fafbf91551c827ff823243df36a79b3d1
parenta691bc814e51b338ae5e4553d3f37abe40f22b65 (diff)
downloaddotfiles-642c2e49f39c6a67cf199adc9c62208f9182f8b3.tar
dotfiles-642c2e49f39c6a67cf199adc9c62208f9182f8b3.tar.gz
dotfiles-642c2e49f39c6a67cf199adc9c62208f9182f8b3.zip
Reverted dunstctl reverting in lock script
-rwxr-xr-x.i3lock/lock.sh7
1 files 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