summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-06-08 12:47:51 +0530
committerryukamish <[email protected]>2026-06-08 12:47:51 +0530
commit071f0990417460bd453473ce4e33b76b8ebb21df (patch)
tree6724cfc48acbc6c98b66e84798c3737f17020328 /.config/waybar
parent618b9cbfbb9ba4537c51859eaea5ede40e93ca15 (diff)
fix: better integration with sway
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config.jsonc36
-rw-r--r--.config/waybar/style.css15
2 files changed, 21 insertions, 30 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index b10f9f9..ec5dc7c 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -1,7 +1,6 @@
{
"layer": "top",
"position": "top",
-
"modules-left": [
"sway/workspaces",
"network",
@@ -13,25 +12,21 @@
"pulseaudio",
"bluetooth",
"battery",
- "clock"
+ "clock"
],
-
- "sway/workspaces": {
- "all-outputs": true,
- "format": "{name}"
- },
-
+ "sway/workspaces": {
+ "all-outputs": true,
+ "format": "{name}"
+ },
"clock": {
- "format": "{:%a, %b %H:%M}",
- "interval": 60,
- "tooltip-format": "<big>{:%B %Y}</big>\n<tt>{calendar}</tt>"
+ "format": "{:%a, %b %d/%m/%y %H:%M}",
+ "interval": 60,
+ "tooltip-format": "<big>{:%B %Y}</big>\n<tt>{calendar}</tt>"
+ },
+ "tray": {
+ "icon-size": 16,
+ "spacing": 4
},
-
- "tray": {
- "icon-size": 14,
- "spacing": 0
- },
-
"battery": {
"interval": 60,
"max-length": 25,
@@ -44,18 +39,16 @@
"format-icons": {
"charging": "<span color='#ffff00'>PWR: {capacity}%</span>"
},
- "format-plugged": "PLG: {capacity}%"
+ "format-plugged": "PLG: <span color='#aaaaaa'>{capacity}%</span>"
},
-
"bluetooth": {
"format": "BT: {num_connections}",
- "format-disabled": "<span color='#aaaaaa'>BT: DC'D</span>",
+ "format-disabled": "BT: <span color='#aaaaaa'>DC'D</span>",
"format-connected": "BT: {num_connections}",
"tooltip-format": "Devices connected: {num_connections}\n{device_alias} at {device_battery_percentage}%",
"on-click": "kitty --app-id=TUI.float -e bluetui",
"on-click-right": "rfkill toggle bluetooth"
},
-
"pulseaudio": {
"format": "{icon} <span color='#aaaaaa'>{volume}</span>",
"format-bluetooth": "BT: {icon} {volume}",
@@ -69,7 +62,6 @@
"tooltip-format": "{desc}",
"scroll-step": 5
},
-
"network": {
"interface": "wlo1",
"format": "{ifname}",
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index a968286..8419926 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -1,7 +1,7 @@
* {
border: none;
font-family: "IoskeleyMono Nerd Font, monospace";
- font-size: 14px;
+ font-size: 12px;
font-weight: bold;
min-height: 0;
}
@@ -11,15 +11,15 @@ window#waybar {
}
#workspaces button.focused {
- background-color: #7fc8ff;
- color: #0a0a0a;
- border-radius: 0;
+ background-color: #7fc8ff;
+ color: #0a0a0a;
+ border-radius: 0;
}
#workspaces button.urgent {
- color: #ffffff;
- background: #ff0000;
- border-radius: 0;
+ color: #ffffff;
+ background: #ff0000;
+ border-radius: 0;
}
#battery {
@@ -68,4 +68,3 @@ window#waybar {
#custom-screenrecording-indicator {
color: #ff0000;
}
-