Change notify-send to dunstify
This commit is contained in:
parent
e5e94e1ab5
commit
ed9f0707aa
@ -94,12 +94,13 @@ Finally, lock the screen using =i3lock=.
|
||||
if pgrep -x "xautolock" >/dev/null
|
||||
then
|
||||
pkill xautolock;
|
||||
notify-send "Lock Screen Desactivated"
|
||||
dunstify --replace=13602 'Lock Screen' 'Desactivated'
|
||||
else
|
||||
xautolock -locker "~/scripts/lockscreen.sh" -detectsleep -time 30 -notify 60 -notifier "dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'" &
|
||||
notify-send "Lock Screen Activated"
|
||||
dunstify --replace=13602 'Lock Screen' 'Activated'
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
* Delete first page of PDF
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/scripts/pdf-delete-first-page.sh
|
||||
|
Loading…
Reference in New Issue
Block a user