chore(waybar): disable tooltip for sway mode

This commit is contained in:
2025-07-16 11:00:47 +02:00
parent 7f7d3cc850
commit 1254bf1e01

View File

@@ -5,13 +5,8 @@
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
"margin": "5 5 5 5", "margin": "5 5 5 5",
"modules-left": [ "modules-left": ["sway/workspaces", "sway/mode"],
"sway/workspaces", "modules-center": ["clock"],
"sway/mode"
],
"modules-center": [
"clock"
],
"modules-right": [ "modules-right": [
"custom/pacman", "custom/pacman",
"custom/recorder", "custom/recorder",
@@ -22,26 +17,15 @@
], ],
"group/system": { "group/system": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": ["memory", "disk"]
"memory",
"disk"
]
}, },
"group/misc": { "group/misc": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": ["pulseaudio", "pulseaudio#microphone", "backlight", "battery"]
"pulseaudio",
"pulseaudio#microphone",
"backlight",
"battery"
]
}, },
"group/connections": { "group/connections": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": ["bluetooth", "network"]
"bluetooth",
"network"
]
}, },
"sway/workspaces": { "sway/workspaces": {
"format": "{name} {icon}", "format": "{name} {icon}",
@@ -53,6 +37,7 @@
} }
}, },
"sway/mode": { "sway/mode": {
"tooltip": false,
"format": "{}", "format": "{}",
"on-click": "sway mode default" "on-click": "sway mode default"
}, },
@@ -68,9 +53,7 @@
"clock": { "clock": {
"tooltip": true, "tooltip": true,
"tooltip-format": "{calendar}", "tooltip-format": "{calendar}",
"timezones": [ "timezones": ["Europe/Rome"],
"Europe/Rome"
],
"format": "{:%a %d %H:%M}", "format": "{:%a %d %H:%M}",
"format-alt": "{%H:%M}", "format-alt": "{%H:%M}",
"calendar": { "calendar": {
@@ -154,11 +137,7 @@
"headphone": "", "headphone": "",
"hands-free": "󰋎", "hands-free": "󰋎",
"headset": "󰋎", "headset": "󰋎",
"default": [ "default": ["", "", ""]
"",
"",
""
]
}, },
"on-click": "pavucontrol -t 3", "on-click": "pavucontrol -t 3",
"on-click-right": "pamixer -t" "on-click-right": "pamixer -t"
@@ -177,15 +156,7 @@
"tooltip": true, "tooltip": true,
"device": "intel_backlight", "device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": [ "format-icons": ["󰃚", "󰃛", "󰃜", "󰃝", "󰃞", "󰃟", "󰃠"]
"󰃚",
"󰃛",
"󰃜",
"󰃝",
"󰃞",
"󰃟",
"󰃠"
]
}, },
"battery": { "battery": {
"interval": 1, "interval": 1,
@@ -199,30 +170,8 @@
"format-charging": "{capacity}% {icon}", "format-charging": "{capacity}% {icon}",
"format-plugged": "{capacity}% ", "format-plugged": "{capacity}% ",
"format-icons": { "format-icons": {
"charging": [ "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"],
"󰢜", "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
"󰂆",
"󰂇",
"󰂈",
"󰢝",
"󰂉",
"󰢞",
"󰂊",
"󰂋",
"󰂅"
],
"default": [
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
}, },
"on-update": "$HOME/.config/waybar/scripts/check-battery.sh" "on-update": "$HOME/.config/waybar/scripts/check-battery.sh"
}, },
@@ -258,17 +207,11 @@
"tooltip-format-ethernet": "{ipaddr} ({ifname}) via {essid} 󰈀", "tooltip-format-ethernet": "{ipaddr} ({ifname}) via {essid} 󰈀",
"tooltip-format-disconnected": "Disconnected", "tooltip-format-disconnected": "Disconnected",
"format": "{ifname}", "format": "{ifname}",
"format-icons": [ "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"],
"󰤯",
"󰤟",
"󰤢",
"󰤥",
"󰤨"
],
"format-disconnected": "󰖪", "format-disconnected": "󰖪",
"format-wifi": "{icon}", "format-wifi": "{icon}",
"format-ethernet": "󰈀", "format-ethernet": "󰈀",
"max-length": 50, "max-length": 50,
"on-click": "nm-connection-editor" "on-click": "nm-connection-editor"
} }
} }