waybar: add on-click apps

This commit is contained in:
Konstantin Koslowski 2021-05-08 21:28:26 +02:00
parent 3becbcfcd3
commit 2f419e1760
2 changed files with 15 additions and 7 deletions

View file

@ -69,21 +69,25 @@
},
"clock": {
"format": "<span foreground='#ebdbb2'> </span>{:%a, %d %b <span foreground='#ebdbb2'> </span>%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"on-click": "foot -T float khal interactive"
},
"cpu": {
"format": "<span foreground='#ebdbb2'></span> {usage}%",
"states": {
"warning": 70,
"critical": 90
}
},
"on-click": "foot -T float bashtop"
},
"memory": {
"format": "<span foreground='#ebdbb2'></span> {}%",
"states": {
"warning": 70,
"critical": 90
}
},
"on-click": "foot -T float bashtop"
},
"backlight": {
"format": "<span foreground='#ebdbb2'>{icon}</span> {percent}%",

View file

@ -66,21 +66,25 @@
},
"clock": {
"format": "<span foreground='#ebdbb2'> </span>{:%a, %d %b <span foreground='#ebdbb2'> </span>%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"on-click": "foot -T float khal interactive"
},
"cpu": {
"format": "<span foreground='#ebdbb2'></span> {usage}%",
"states": {
"warning": 70,
"critical": 90
}
},
"on-click": "foot -T float bashtop"
},
"memory": {
"format": "<span foreground='#ebdbb2'></span> {}%",
"states": {
"warning": 70,
"critical": 90
}
},
"on-click": "foot -T float bashtop"
},
"backlight": {
"format": "<span foreground='#ebdbb2'>{icon}</span> {percent}%",
@ -97,7 +101,7 @@
"format-charging": "<span foreground='#268bd2'></span> {capacity}%",
"format-icons": ["", "", "", "", ""]
},
{
"network#wl0": {
"interval": 2,
"interface": "wl0",
"format": "{ifname}",