Change waybar to be more minimalistic

This commit is contained in:
Pablu23
2024-06-26 12:41:32 +02:00
parent 93f3acca75
commit 0489965103
3 changed files with 166 additions and 451 deletions

View File

@@ -1,59 +1,64 @@
{
"layer": "top",
"position": "top",
"height": 24,
"modules-left": [
"hyprland/mode",
"hyprland/workspaces",
"custom/arrow10",
"hyprland/window"
// "hyprland/mode",
"hyprland/workspaces"
// "custom/arrow10",
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"custom/arrow9",
// "custom/arrow9",
"pulseaudio",
"custom/arrow8",
// "custom/arrow8",
"network",
"custom/arrow7",
// "custom/arrow7",
"memory",
"custom/arrow6",
// "custom/arrow6",
"cpu",
"custom/arrow5",
"temperature",
"custom/arrow4",
"battery",
"custom/arrow3",
// "custom/arrow5",
// "temperature",
// "custom/arrow4",
// "battery",
// "custom/arrow3",
"hyprland/language",
"custom/arrow2",
// "custom/arrow2",
"tray",
"clock#date",
"custom/arrow1",
// "custom/arrow1",
"clock#time"
],
// Modules
"battery": {
"interval": 10,
"states": {
"warning": 30,
"critical": 15
},
"format-time": "{H}:{M:02}",
"format": "{icon} {capacity}% ({time})",
"format-charging": " {capacity}% ({time})",
"format-charging-full": " {capacity}%",
"format-full": "{icon} {capacity}%",
"format-alt": "{icon} {power}W",
"format-icons": [
"",
"",
"",
"",
""
],
"tooltip": false
},
// "battery": {
// "interval": 10,
// "states": {
// "warning": 30,
// "critical": 15
// },
// "format-time": "{H}:{M:02}",
// "format": "{icon} {capacity}% ({time})",
// "format-charging": " {capacity}% ({time})",
// "format-charging-full": " {capacity}%",
// "format-full": "{icon} {capacity}%",
// "format-alt": "{icon} {power}W",
// "format-icons": [
// "",
// "",
// "",
// "",
// ""
// ],
// "tooltip": false
// },
"clock#time": {
"interval": 10,
@@ -71,8 +76,7 @@
"cpu": {
"interval": 5,
"tooltip": false,
"format": " {usage}%",
"format-alt": " {load}",
"format": "CPU: {usage}%",
"states": {
"warning": 70,
"critical": 90
@@ -88,7 +92,7 @@
"memory": {
"interval": 5,
"format": " {used:0.1f}G/{total:0.1f}G",
"format": "MEM: {used:0.1f}G/{total:0.1f}G",
"states": {
"warning": 70,
"critical": 90
@@ -98,15 +102,10 @@
"network": {
"interval": 5,
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ifname}",
// "format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": "UP:{bandwidthUpBytes} DOWN:{bandwidthDownBytes}",
"format-disconnected": "No connection",
"format-alt": " {ipaddr}/{cidr}",
"tooltip": false
},
"hyprland/mode": {
"format": "{}",
// "format-alt": " {ipaddr}/{cidr}",
"tooltip": false
},
@@ -124,91 +123,91 @@
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"format": "AUD: {volume}%",
// "format-bluetooth": "{icon} {volume}%",
"format-muted": "AUD: 0%",
// "format-icons": {
// "headphone": "",
// "hands-free": "",
// "headset": "",
// "phone": "",
// "portable": "",
// "car": "",
// "default": ["", ""]
// },
"scroll-step": 1,
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"tooltip": false
},
"temperature": {
"critical-threshold": 90,
"interval": 5,
"format": "{icon} {temperatureC}°",
"format-icons": [
"",
"",
"",
"",
""
],
"tooltip": false
},
// "temperature": {
// "critical-threshold": 90,
// "interval": 5,
// "format": "{icon} {temperatureC}°",
// "format-icons": [
// "",
// "",
// "",
// "",
// ""
// ],
// "tooltip": false
// },
"tray": {
"icon-size": 18
//"spacing": 10
},
"custom/arrow1": {
"format": "",
"tooltip": false
},
// "custom/arrow1": {
// "format": "",
// "tooltip": false
// },
"custom/arrow2": {
"format": "",
"tooltip": false
},
// "custom/arrow2": {
// "format": "",
// "tooltip": false
// },
"custom/arrow3": {
"format": "",
"tooltip": false
},
// "custom/arrow3": {
// "format": "",
// "tooltip": false
// },
"custom/arrow4": {
"format": "",
"tooltip": false
},
"custom/arrow5": {
"format": "",
"tooltip": false
},
"custom/arrow6": {
"format": "",
"tooltip": false
},
"custom/arrow7": {
"format": "",
"tooltip": false
},
"custom/arrow8": {
"format": "",
"tooltip": false
},
"custom/arrow9": {
"format": "",
"tooltip": false
},
"custom/arrow10": {
"format": "",
"tooltip": false
}
// "custom/arrow4": {
// "format": "",
// "tooltip": false
// },
//
// "custom/arrow5": {
// "format": "",
// "tooltip": false
// },
//
// "custom/arrow6": {
// "format": "",
// "tooltip": false
// },
//
// "custom/arrow7": {
// "format": "",
// "tooltip": false
// },
//
// "custom/arrow8": {
// "format": "",
// "tooltip": false
// },
//
// "custom/arrow9": {
// "format": "",
// "tooltip": false
// },
//
// "custom/arrow10": {
// "format": "",
// "tooltip": false
// }
}
// vi:ft=jsonc