From 0b125b350a98c38c751e4fc40e0b7412c03e0aff Mon Sep 17 00:00:00 2001 From: moorenix Date: Thu, 15 May 2025 07:30:01 -0500 Subject: Adding window rules --- waybar/config | 1 + waybar/modules.json.bak | 2 +- waybar/modules.jsonc | 19 +++++++++++++++---- waybar/style.css | 13 +++++++++---- 4 files changed, 26 insertions(+), 9 deletions(-) (limited to 'waybar') diff --git a/waybar/config b/waybar/config index 1296a1b..6bc1e84 100644 --- a/waybar/config +++ b/waybar/config @@ -20,6 +20,7 @@ "modules-center": [ ], "modules-right": [ + "bluetooth", "mpd", "pulseaudio", "network", diff --git a/waybar/modules.json.bak b/waybar/modules.json.bak index 5f68b50..9c6eeee 100644 --- a/waybar/modules.json.bak +++ b/waybar/modules.json.bak @@ -137,7 +137,7 @@ "tooltip-format-ethernet": " {ifname} ({ipaddr}/{cidr})", "tooltip-format-disconnected": "Disconnected", "max-length": 50, - "on-click": "alacritty -e nmtui" + "on-click": "alacritty -e nmtui-connect" }, // Battery diff --git a/waybar/modules.jsonc b/waybar/modules.jsonc index c775bd7..a2aa2f0 100644 --- a/waybar/modules.jsonc +++ b/waybar/modules.jsonc @@ -8,10 +8,10 @@ "clock" ], "modules-right": [ + "network", "pulseaudio", "backlight", "battery", - "network", "cpu", "memory", "tray", @@ -43,12 +43,21 @@ "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%m/%d/%Y - %H:%M}" }, + "bluetooth": { + "on-click": "alacritty -e bluetui" + }, "network": { "format-wifi": "󰤢 {signalStrength}%", - "format-ethernet": "󰈀 {bandwidthDownBits}", + "format-ethernet": "󰈀", "format-disconnected": "󰤠 No Network", "interval": 5, - "tooltip": false + "tooltip": true, + "family": "ipv4", + "tooltip-format": " {ifname} via {gwaddri}", + "tooltip-format-wifi": " {essid} ({signalStrength}%) \n {ifname}: {ipaddr}/{cidr}", + "tooltip-format-ethernet": " {ifname} ({ipaddr}/{cidr})", + "tooltip-format-disconnected": "Disconnected", + "on-click": "alacritty -e nmtui-connect" }, "cpu": { "interval": 1, @@ -56,7 +65,9 @@ }, "memory": { "interval": 30, - "format": "{used:0.1f}G / {total:0.1f}G" + "format": "{used:0.1f}G / {total:0.1f}G", + "on-click": "alacritty -e btop", + "tooltip": true }, "pulseaudio": { "format": "{icon} {volume}%", diff --git a/waybar/style.css b/waybar/style.css index a1c4596..7db2f56 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,6 +1,6 @@ * { font-family: JetbrainsMono Nerd Font; - font-size: 18px; + font-size: 12px; min-height: 0; padding-right: 2px; padding-left: 2px; @@ -36,13 +36,13 @@ border-radius: 5px; } +#network, #custom-music, #tray, #backlight, #clock, #battery, #pulseaudio, -#network, #cpu, #memory, #custom-lock, @@ -53,7 +53,7 @@ } #memory { - border-radius: 0px 5px 5px 0px; + border-radius: 0px 0px 0px 0px; } #clock { @@ -83,9 +83,14 @@ border-radius: 0; } +#bluetooth, #bluetooth.on, #bluetooth.connected #bluetooth.disabled #bluetooth.off { + border-radius: 0px 0px 0px 0%; + margin-left: 1rem; +} + #pulseaudio { color: #ea999c; - border-radius: 5px 0px 0px 5%; + border-radius: 0px 0px 0px 0%; margin-left: 1rem; } -- cgit v1.3