add caffeinated
This commit is contained in:
parent
7d0a850d71
commit
2d3bdb626c
|
@ -153,12 +153,10 @@
|
|||
},
|
||||
"custom/caffeine":{
|
||||
"format":"{} ",
|
||||
"exec":"pidof caffeinated &>/dev/null &&echo 零||echo 鈴",
|
||||
"exec":"pidof caffeinated &>/dev/null &&echo ||echo 鈴",
|
||||
"on-click":"pidof caffeinated &&pkill caffeinated||caffeinated -d ",
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
|
||||
|
||||
}
|
||||
// vim:ft=json
|
||||
|
|
|
@ -78,7 +78,8 @@ window#waybar.empty {
|
|||
#custom-updates,
|
||||
#custom-weather,
|
||||
#custom-torrentD,
|
||||
#custom-torrentS
|
||||
#custom-torrentS,
|
||||
#custom-caffeine
|
||||
{
|
||||
margin: 0 7px;
|
||||
color: {{@@ color.txt @@}};
|
||||
|
@ -95,7 +96,8 @@ window#waybar.empty {
|
|||
font-size: {{@@ font.size.big @@}}px;
|
||||
}
|
||||
#network,
|
||||
#pulseaudio
|
||||
#pulseaudio,
|
||||
#custom-caffeine
|
||||
{
|
||||
margin-top:-1px;
|
||||
font-size:16px;
|
||||
|
@ -118,3 +120,8 @@ window#waybar.empty {
|
|||
font-size: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
|
Reference in New Issue