diff options
Diffstat (limited to 'dotfiles/waybar/config.jsonc')
| -rw-r--r-- | dotfiles/waybar/config.jsonc | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/dotfiles/waybar/config.jsonc b/dotfiles/waybar/config.jsonc index 00e32e4..73e1007 100644 --- a/dotfiles/waybar/config.jsonc +++ b/dotfiles/waybar/config.jsonc @@ -2,29 +2,29 @@ { "layer": "top", // Waybar at top layer "position": "left", // Waybar position (top|bottom|left|right) + "margin": 5, // "height": 30, // Waybar height (to be removed for auto height) // "width": 10, // Waybar width - "spacing": 4, // Gaps between modules (4px) + "spacing": 10, // Gaps between modules (4px) "reload_style_on_change": true, // Choose the order of the modules "modules-left": [ "wlr/taskbar", ], "modules-center": [ - "wlr/workspaces" + "clock", ], "modules-right": [ + "pulseaudio", "network", + "bluetooth", "battery", - "temperature", - "privacy", - "pulseaudio", - "clock", + "custom/languages", "tray", "custom/power" ], // Modules configuration - // "sway/workspaces": { + // "wlr/workspaces": { // "disable-scroll": true, // "all-outputs": true, // "warp-on-scroll": false, @@ -42,11 +42,11 @@ // }, "tray": { // "icon-size": 21, - "spacing": 10 + "spacing": 15 }, "clock": { "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", - "format": "{:%H:%M\n%a\n%d/%m}", + "format": "{:%H\n%M}", "justify": "center" }, "temperature": { @@ -76,10 +76,20 @@ "format-icons": ["", "", "", "", ""] }, + "bluetooth": { + "format": "", + "format-connected": "", + "format-disabled": "✘", + "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", + "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", + "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", + "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%" + }, + "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "justify": "center", - "format-wifi": " \n{signalStrength}%", + "format-wifi": " ", "format-ethernet": " \n", "tooltip-format-wifi": "{ipaddr} @ {essid}", "tooltip-format-ethernet": "{ipaddr} @ {ifname}", @@ -91,11 +101,10 @@ "pulseaudio": { // "scroll-step": 1, // %, can be a float "justify": "center", - "format": "{icon}\n{volume}%", - "format-bluetooth": "{volume}% {icon} {format_source}", - "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": " {format_source}", - "format-source": "", + "format": " ", + "format-bluetooth": "", + "format-muted": " ", + "format-source": " ", "format-source-muted": "", "format-icons": { "headphone": "", @@ -105,7 +114,7 @@ "portable": "", "car": "", "default": ["", "", ""], - "muted": [""] + "muted": [""] }, "on-click": "wpctl set-mute @DEFAULT_SINK@ toggle", "on-click-right": "pavucontrol" |
