diff options
-rw-r--r-- | config/hyprland/waybar/config.jsonc | 12 | ||||
-rw-r--r-- | config/hyprland/waybar/schemes/base16.css | 4 |
2 files changed, 6 insertions, 10 deletions
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc index 4c95c25..cd24d14 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/config.jsonc @@ -2,7 +2,7 @@ "layer": "top", "modules-left": ["battery", "hyprland/workspaces", "mpd", "hyprland/window"], "modules-center": ["clock"], - "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "bluetooth", "tray"], + "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "custom/bluetooth", "tray"], "mpd": { "format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})", "artist-len": 24, @@ -67,14 +67,10 @@ "format-alt": "{:(%T) %A %d %B}", "interval": 1, }, - "bluetooth": { + "custom/bluetooth": { + "exec": "bluetoothctl info", "format": "", - "format-disabled": "", - "format-connected": "", - "format-on": "", - "tooltip-format": "{controller_alias}\t{controller_address}", - "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}", - "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}" + "interval": 3, }, "tray": { "spacing": 5, diff --git a/config/hyprland/waybar/schemes/base16.css b/config/hyprland/waybar/schemes/base16.css index b32d3df..61696d0 100644 --- a/config/hyprland/waybar/schemes/base16.css +++ b/config/hyprland/waybar/schemes/base16.css @@ -56,7 +56,7 @@ window#waybar.PCSX2 #window { #workspaces, #mpd, #battery, #clock, -#custom-wireguard, #network, #pulseaudio, #temperature, #cpu, #custom-memory, #bluetooth, #tray { +#custom-wireguard, #network, #pulseaudio, #temperature, #cpu, #custom-memory, #custom-bluetooth, #tray { border: solid @background; border-width: 2px 2px 2px 0; margin-top: 4px; @@ -152,7 +152,7 @@ window#waybar.PCSX2 #window { background: @color5; } -#bluetooth { +#custom-bluetooth { color: @color6; background: @color8; } |