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}",
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
"memory",
|
||||
"disk",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"pulseaudio"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/alert",
|
||||
"custom/maj",
|
||||
"clock",
|
||||
"tray"
|
||||
@@ -79,11 +80,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}",
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#disk,
|
||||
#network,
|
||||
#workspaces,
|
||||
#custom-alert,
|
||||
#custom-maj,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
@@ -87,24 +88,40 @@
|
||||
background: @red;
|
||||
}
|
||||
|
||||
#network {
|
||||
#custom-logo {
|
||||
color: @rosewater;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @flamingo;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @pink;
|
||||
}
|
||||
|
||||
#disk {
|
||||
color: @maroon;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @blue;
|
||||
#custom-alert {
|
||||
color: @sky;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @green;
|
||||
#custom-maj {
|
||||
color: @sapphire;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @red;
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#tray {
|
||||
|
||||
Reference in New Issue
Block a user