diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-16 12:10:09 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-16 12:10:09 +0200 | 
| commit | 8f901edc752d7c34336af333b2622488135c09c7 (patch) | |
| tree | fb525b24cee259997597d24b5a1cfd2c71ceab86 | |
| parent | 368d0f90400e9fe1d2d4dfe2fea583e54561057e (diff) | |
use custom bluetooth module
| -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;  }  | 
