Improve waybar and custom scripts
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
"memory",
|
||||
"disk",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"pulseaudio"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/alert",
|
||||
"custom/maj",
|
||||
"clock",
|
||||
"tray"
|
||||
@@ -78,11 +79,20 @@
|
||||
},
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
},
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"custom/alert": {
|
||||
"exec": "/etc/xdg/scripts/waybar-mailbox.sh",
|
||||
"interval": 300,
|
||||
"return-type": "json",
|
||||
"format": "{icon}{text}",
|
||||
"format-icons": {
|
||||
"default": " "
|
||||
}
|
||||
},
|
||||
"custom/maj": {
|
||||
"exec": "/etc/xdg/scripts/update.sh",
|
||||
"exec": "/etc/xdg/scripts/waybar-update.sh",
|
||||
"interval": 300,
|
||||
"return-type": "json",
|
||||
"format": "{icon}{text}",
|
||||
|
||||
Reference in New Issue
Block a user