From 760ad65b35458e3ba44ea7809b8b5aa615e80676 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 9 Apr 2022 00:36:29 +0200 Subject: fix --- .config/dunst/dunstrc | 6 +++--- .local/bin/shutup | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 2d69828..a996728 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -112,9 +112,9 @@ # NOTE: It might be helpful to run dunst -print in a terminal in order # to find fitting options for rules. -[espeak] # >shutup - summary = "*" # >shutup - script = /home/jozan/.local/bin/dunst_espeak.sh # >shutup +#[espeak] # >shutup +# summary = "*" # >shutup +# script = /home/jozan/.local/bin/dunst_espeak.sh # >shutup #[script-test] # summary = "*script*" diff --git a/.local/bin/shutup b/.local/bin/shutup index ccb6888..be2dff9 100755 --- a/.local/bin/shutup +++ b/.local/bin/shutup @@ -74,7 +74,7 @@ sub toggle_config last if $lines[$i] =~ m/# >shutup/; } $j = 0; - while ($j < 2) { + while ($j <= 2) { if ($lines[$i + $j] =~ m/^#/) { $lines[$i + $j] =~ s/^#//; $ret = 1; -- cgit v1.2.3