waybar: change formatting of modules

This commit is contained in:
Smirnov Oleksandr 2024-03-06 16:00:41 +02:00
parent 0f37ae89df
commit 65774cb3d3
2 changed files with 10 additions and 10 deletions

View file

@ -1,3 +1,4 @@
// vim: ft=jsonc
{ {
"position": "top", "position": "top",
"layer": "top", "layer": "top",
@ -6,7 +7,6 @@
"margin-bottom": 0, "margin-bottom": 0,
"margin-left": 0, "margin-left": 0,
"margin-right": 0, "margin-right": 0,
"include": [ "include": [
"~/.config/waybar/modules/hypr.json", "~/.config/waybar/modules/hypr.json",
"~/.config/waybar/modules/info.json" "~/.config/waybar/modules/info.json"

View file

@ -3,12 +3,13 @@
"icon-size": 16, "icon-size": 16,
"spacing": 10 "spacing": 10
}, },
"clock": {
"format": " {:%a, %d %b %H:%M}", "clock": {
"tooltip": "true", "format": " {:%a, %d %b %I:%M %P}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip": true,
"on-click": "morgen" "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
}, "on-click": "morgen"
},
"battery": { "battery": {
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
@ -25,7 +26,7 @@
}, },
"memory": { "memory": {
"format": "󰍛 {used}%", "format": "󰍛 {used}",
"interval": 5 "interval": 5
}, },
@ -39,9 +40,8 @@
"format-wifi": "󰤨 {essid}", "format-wifi": "󰤨 {essid}",
"format-linked": " {ifname} (No IP)", "format-linked": " {ifname} (No IP)",
"format-disconnected": "󰤭", "format-disconnected": "󰤭",
"format-alt": "󰤨 {ifname}: {ipaddr}/{cidr}", "format-alt": "󰤨 {ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{essid}", "tooltip-format": "{essid}",
"on-click-right": "nm-connection-editor",
"tooltip": false "tooltip": false
}, },