[update
This commit is contained in:
@@ -2,34 +2,25 @@
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
// "height": 30, // Waybar height (to be removed for auto height)
|
||||
"margin": "3 3 0 3",
|
||||
// "width": 1280, // Waybar width
|
||||
"spacing": 2, // Gaps between modules (4px)
|
||||
// "spacing": 1, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["wlr/workspaces", "hyprland/submap", "hyprland/window"],
|
||||
"modules-left": ["wlr/workspaces", "custom/sep", "hyprland/window", "hyprland/submap"],
|
||||
// "modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
||||
"modules-center": [],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"idle_inhibitor",
|
||||
"custom/sep",
|
||||
"custom/pipewire",
|
||||
"custom/sep",
|
||||
"network",
|
||||
"custom/sep",
|
||||
"custom/pipewire",
|
||||
"cpu",
|
||||
"custom/sep",
|
||||
"memory",
|
||||
"custom/sep",
|
||||
"disk",
|
||||
"custom/sep",
|
||||
"temperature",
|
||||
"custom/sep",
|
||||
"backlight",
|
||||
"custom/sep",
|
||||
"battery",
|
||||
"custom/sep",
|
||||
"clock",
|
||||
"custom/sep",
|
||||
"tray"
|
||||
],
|
||||
// Modules configuration
|
||||
@@ -38,14 +29,10 @@
|
||||
"interval": "once",
|
||||
"tooltip": false
|
||||
},
|
||||
"sway/window": {
|
||||
"max-length": 40
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"format": "{name}",
|
||||
"on-click": "activate",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||
"disable-scroll": true
|
||||
},
|
||||
"custom/pipewire": {
|
||||
"exec": "/home/jay/bin/get-volume.sh",
|
||||
@@ -59,6 +46,13 @@
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"hyprland/window": {
|
||||
"max-length": 30
|
||||
},
|
||||
"hyprland/submap": {
|
||||
"format": "{}",
|
||||
"tooltip": false
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
@@ -74,7 +68,7 @@
|
||||
"clock": {
|
||||
// "timezone": "America/New_York",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%Y-%m-%d %H:%M:%S}",
|
||||
"format": "{:%Y-%m-%d %H:%M:%S %a}",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
"interval": 1
|
||||
},
|
||||
@@ -85,7 +79,7 @@
|
||||
},
|
||||
"memory": {
|
||||
"interval": 10,
|
||||
"format": " {used}G/{total}G",
|
||||
"format": " {used}G",
|
||||
"tooltip-format": "{percentage}% used"
|
||||
},
|
||||
"temperature": {
|
||||
@@ -107,10 +101,10 @@
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
@@ -126,11 +120,6 @@
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"path": "/",
|
||||
"format": " {used}/{total}"
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user