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,9 +3,10 @@
"icon-size": 16, "icon-size": 16,
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
"format": " {:%a, %d %b %H:%M}", "format": " {:%a, %d %b %I:%M %P}",
"tooltip": "true", "tooltip": true,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"on-click": "morgen" "on-click": "morgen"
}, },
@ -25,7 +26,7 @@
}, },
"memory": { "memory": {
"format": "󰍛 {used}%", "format": "󰍛 {used}",
"interval": 5 "interval": 5
}, },
@ -41,7 +42,6 @@
"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
}, },