waybar custom mod for disks
This commit is contained in:
+21
-4
@@ -2,7 +2,7 @@
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 0,
|
||||
"modules-left": ["cpu", "disk", "disk#sda", "disk#nocturnal"],
|
||||
"modules-left": ["cpu", "disk", "disk#sda", "custom/nocturnal", "custom/azura"],
|
||||
"modules-center": ["sway/workspaces"],
|
||||
"modules-right": ["idle_inhibitor", "tray", "clock"],
|
||||
"sway/workspaces": {
|
||||
@@ -30,8 +30,19 @@
|
||||
"class<teams-for-linux>": "",
|
||||
"class<spotify>": "",
|
||||
"class<glava>": "",
|
||||
"class<thunderbird>": ""
|
||||
}
|
||||
},
|
||||
"custom/nocturnal": {
|
||||
"exec": "~/.config/waybar/disk.sh /nasfw",
|
||||
"interval": 60,
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-9pt\"></span> {text}"
|
||||
},
|
||||
"custom/azura": {
|
||||
"exec": "~/.config/waybar/disk.sh /NAS",
|
||||
"interval": 60,
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-7pt\"></span> {text}"
|
||||
},
|
||||
"custom/recording": {
|
||||
"format": "●",
|
||||
"exec": "pgrep wf-recorder",
|
||||
@@ -46,7 +57,7 @@
|
||||
},
|
||||
"disk": {
|
||||
"path": "/",
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-8pt\"></span> {free}",
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-8pt\"></span> {free}",
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"disk#sda": {
|
||||
@@ -57,8 +68,14 @@
|
||||
},
|
||||
"disk#nocturnal": {
|
||||
"path": "/nasfw",
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-9pt\"></span> {free}",
|
||||
"interval": 5,
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-9pt\"></span> {free}",
|
||||
"interval": 60,
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"disk#azura": {
|
||||
"path": "/NAS",
|
||||
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-7pt\"></span> {free}",
|
||||
"interval": 60,
|
||||
"tooltip-format": "{free} available on {path}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
|
||||
Reference in New Issue
Block a user