Add uptime-module to waybar

This commit is contained in:
Tobias Reisinger 2024-01-30 20:03:07 +01:00
parent c9b0185c9a
commit 6a85c0e22b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 30 additions and 3 deletions
.config/waybar

View file

@ -14,6 +14,7 @@
"cpu",
"memory",
"custom/pacman",
"custom/status",
"custom/weather",
"clock",
"tray"
@ -32,7 +33,7 @@
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%"
"format": " {usage}%"
},
"memory": {
"format": " {percentage}%"
@ -47,7 +48,7 @@
"spacing": 4
},
"custom/pacman": {
"format": " {}",
"format": "󰏕 {}",
"interval": 3600,
"exec": "~/.config/waybar/custom/pacman",
"on-click": "alacritty -e 'archlinux-update'",
@ -61,5 +62,13 @@
"format": "{}",
"tooltip": true,
"interval": 1200
},
"custom/status": {
"format": "󱖫 {}",
"exec": "~/.config/waybar/custom/status-serguzim-net",
"on-click": "xdg-open 'https://status.serguzim.net'",
"return-type": "json",
"tooltip": true,
"interval": 500
}
}