mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
Delete the lockscreen notification faster
After timeout in msecs is merged in dunst, the notification can get a timeout in milliseconds and gets replaced quite fast.
This commit is contained in:
parent
b9652b2aee
commit
4278b14eee
2 changed files with 8 additions and 54 deletions
|
@ -205,58 +205,12 @@
|
|||
foreground = "#E1E5EA"
|
||||
timeout = 0
|
||||
|
||||
|
||||
# Every section that isn't one of the above is interpreted as a rules to
|
||||
# override settings for certain messages.
|
||||
# Messages can be matched by "appname", "summary", "body", "icon", "category",
|
||||
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
|
||||
# "background", "new_icon" and "format".
|
||||
# Shell-like globbing will get expanded.
|
||||
#
|
||||
# SCRIPTING
|
||||
# You can specify a script that gets run when the rule matches by
|
||||
# setting the "script" option.
|
||||
# The script will be called as follows:
|
||||
# script appname summary body icon urgency
|
||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
|
||||
#
|
||||
# NOTE: if you don't want a notification to be displayed, set the format
|
||||
# to "".
|
||||
# NOTE: It might be helpful to run dunst -print in a terminal in order
|
||||
# to find fitting options for rules.
|
||||
|
||||
#[espeak]
|
||||
# summary = "*"
|
||||
# script = dunst_espeak.sh
|
||||
|
||||
#[ignore]
|
||||
# # This notification will not be displayed
|
||||
# summary = "foobar"
|
||||
# format = ""
|
||||
|
||||
#[signed_on]
|
||||
# appname = Pidgin
|
||||
# summary = "*signed on*"
|
||||
# urgency = low
|
||||
#
|
||||
#[signed_off]
|
||||
# appname = Pidgin
|
||||
# summary = *signed off*
|
||||
# urgency = low
|
||||
#
|
||||
#[says]
|
||||
# appname = Pidgin
|
||||
# summary = *says*
|
||||
# urgency = critical
|
||||
#
|
||||
#[twitter]
|
||||
# appname = Pidgin
|
||||
# summary = *twitter.com*
|
||||
# urgency = normal
|
||||
#
|
||||
# vim: ft=cfg
|
||||
|
||||
[locking]
|
||||
[lockscreen]
|
||||
appname = "lockscreen"
|
||||
new_icon = "system-lock-screen"
|
||||
history_ignore = yes
|
||||
|
||||
# Supergood seafile devs :facepalm:
|
||||
[Seafile]
|
||||
appname = "Seafile"
|
||||
new_icon = "seafile"
|
||||
|
|
|
@ -53,8 +53,8 @@ notification(){
|
|||
-a lockscreen \
|
||||
-c lock-warn \
|
||||
-u critical \
|
||||
-t 1000 \
|
||||
-i screensaver \
|
||||
-t 100 \
|
||||
-i system-lock-screen \
|
||||
"Locking Screen" \
|
||||
"Will Lock Screen in 15s"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue