add caffeine
This commit is contained in:
parent
52127e6e5b
commit
c61a5e857b
|
@ -19,6 +19,7 @@
|
|||
"custom/torrentD",
|
||||
"custom/torrentS",
|
||||
"custom/updates",
|
||||
"custom/caffeine",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"battery"
|
||||
|
@ -149,7 +150,14 @@
|
|||
"exec":"transmission-remote -l | grep Seeding| wc -l | sed 's/^0$//'",
|
||||
"exec-if":"pidof transmission-daemon",
|
||||
"interval":180
|
||||
}
|
||||
},
|
||||
"custom/caffeine":{
|
||||
"format":"{} ",
|
||||
"exec":"pidof caffeinated &>/dev/null &&echo 零||echo 鈴",
|
||||
"on-click":"pidof caffeinated &&pkill caffeinated||caffeinated -d ",
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ depends=(
|
|||
bemenu-wlroots j4-dmenu-desktop
|
||||
# Utility
|
||||
ruby-fusuma light mako kanshi udiskie redshift-wayland-git
|
||||
ydotool wtype
|
||||
ydotool wtype caffeinated
|
||||
# Configuration manager
|
||||
dotdrop
|
||||
|
||||
|
|
Reference in New Issue