switch notify daemon
This commit is contained in:
parent
4eb2a0dd1b
commit
6a911794f1
2 changed files with 13 additions and 6 deletions
|
@ -171,12 +171,7 @@ exec_always {
|
||||||
}
|
}
|
||||||
|
|
||||||
# autostarts
|
# autostarts
|
||||||
exec mako --font "$font" \
|
exec swaync
|
||||||
--background-color "$white" \
|
|
||||||
--border-colo "$red" \
|
|
||||||
--text-color "$black" \
|
|
||||||
--default-timeout 1000 \
|
|
||||||
--padding 10
|
|
||||||
exec emacs --daemon
|
exec emacs --daemon
|
||||||
exec swayidle before-sleep "$lock"
|
exec swayidle before-sleep "$lock"
|
||||||
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
|
|
@ -91,8 +91,20 @@ block = "battery"
|
||||||
device = "BAT1"
|
device = "BAT1"
|
||||||
interval = 10
|
interval = 10
|
||||||
format = " $icon $percentage ($time) "
|
format = " $icon $percentage ($time) "
|
||||||
|
full_format = " $icon $percentage "
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "time"
|
block = "time"
|
||||||
interval = 60
|
interval = 60
|
||||||
format = " $timestamp.datetime(f:'%Y-%m-%d %H:%M') "
|
format = " $timestamp.datetime(f:'%Y-%m-%d %H:%M') "
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "notify"
|
||||||
|
driver = "swaync"
|
||||||
|
format = " $icon {($notification_count.eng(w:1)) |}"
|
||||||
|
[[block.click]]
|
||||||
|
button = "left"
|
||||||
|
action = "show"
|
||||||
|
[[block.click]]
|
||||||
|
button = "right"
|
||||||
|
action = "toggle_paused"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue