summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-15 00:33:26 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-15 00:33:26 +0200
commit826ce094fecc4c6e07faf6e8b91387c2ae49842c (patch)
tree1820c843e4e260f6b51e8d269a972295a17e558c /config/hyprland/waybar
parentc032a9d071ee4b7eb2bfe79ec03d2a7dc4020f15 (diff)
parenta915b5ade1a47b9678e2f9963b13b49dbd406031 (diff)
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config/hyprland/waybar')
-rw-r--r--config/hyprland/waybar/config.jsonc11
-rw-r--r--config/hyprland/waybar/schemes/base16.css15
2 files changed, 22 insertions, 4 deletions
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc
index ebf9cf9..4c95c25 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", "tray"],
+ "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "bluetooth", "tray"],
"mpd": {
"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
"artist-len": 24,
@@ -67,6 +67,15 @@
"format-alt": "{:(%T) %A %d %B}",
"interval": 1,
},
+ "bluetooth": {
+ "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}"
+ },
"tray": {
"spacing": 5,
}
diff --git a/config/hyprland/waybar/schemes/base16.css b/config/hyprland/waybar/schemes/base16.css
index 76efbb3..b32d3df 100644
--- a/config/hyprland/waybar/schemes/base16.css
+++ b/config/hyprland/waybar/schemes/base16.css
@@ -51,11 +51,12 @@ window#waybar.PCSX2 #window {
margin-right: 2px;
}
.modules-left {
- margin-left: 2px;
+ margin-left: 3px;
}
-#workspaces, #mpd, #battery, #clock,
-#custom-wireguard, #network, #pulseaudio, #temperature, #cpu, #custom-memory, #tray {
+#workspaces, #mpd, #battery,
+#clock,
+#custom-wireguard, #network, #pulseaudio, #temperature, #cpu, #custom-memory, #bluetooth, #tray {
border: solid @background;
border-width: 2px 2px 2px 0;
margin-top: 4px;
@@ -67,6 +68,9 @@ window#waybar.PCSX2 #window {
color: @color6;
background: @background;
border-color: @color4;
+ border-width: 2px;
+ padding: 0 12px;
+ margin-right: 16px;
}
#workspaces {
@@ -148,6 +152,11 @@ window#waybar.PCSX2 #window {
background: @color5;
}
+#bluetooth {
+ color: @color6;
+ background: @color8;
+}
+
#tray * {
padding: unset;
}