aboutsummaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-18 01:33:29 -0500
committerMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-18 01:33:29 -0500
commit4052357e021085bc1c761108446ee09a778ade15 (patch)
treee8664f34056a9f34538e1abb0b3eead15ecb4d70 /waybar
parent83113fff46023d6cde0c2d982978fe7f5a5cfce2 (diff)
big updates
Diffstat (limited to 'waybar')
-rw-r--r--waybar/dot-config/waybar/config.jsonc26
-rw-r--r--waybar/dot-config/waybar/style.css17
2 files changed, 24 insertions, 19 deletions
diff --git a/waybar/dot-config/waybar/config.jsonc b/waybar/dot-config/waybar/config.jsonc
index 1d9be84..d3aee7f 100644
--- a/waybar/dot-config/waybar/config.jsonc
+++ b/waybar/dot-config/waybar/config.jsonc
@@ -37,7 +37,7 @@
"clock": {
"interval": 60,
"format": "{:%a\n%d\n%b\n\n%H\n%M}",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt>{calendar}</tt>",
"justify": "center"
},
"backlight": {
@@ -63,7 +63,6 @@
"format-full": "{icon}",
"format-charging": "󰢝\n{capacity}%",
"format-plugged": "",
- "format-alt": "{power}W\n{icon}",
"format-icons": [
"",
"",
@@ -71,7 +70,8 @@
"",
""
],
- "justify": "center"
+ "justify": "center",
+ "tooltip-format": "{capacity}% {power}W ({time})"
},
"power-profiles-daemon": {
"format": "{icon}",
@@ -85,18 +85,20 @@
},
"network": {
"format-wifi": "",
- "format-ethernet": "{ipaddr}/{cidr} ",
- "tooltip-format": "{ifname} via {gwaddr} ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "⚠",
- "format-alt": "{ifname}: {ipaddr}/{cidr}",
- "justify": "center"
+ "format-ethernet": "",
+ "format-disconnected": "󰲛",
+ "tooltip-format-ethernet": "{ipaddr}/{cidr}",
+ "tooltip-format-wifi": "{essid} ({signalStrength}%) {gwaddr}",
+ "tooltip-format-disconnected": "Disconnected",
+ "format-linked": "-",
+ "justify": "center",
+ "on-click": "runapp -o -- alacritty -e impala"
},
"wireplumber": {
"format": "{icon}",
"format-muted": "",
- "on-click": "app2unit-term -- bash -c 'wpctl status | less'",
- "on-click-right": "swayosd-client --output-volume mute-toggle && update-led-mute sink",
+ "on-click": "runapp -o -- alacritty -e bash -c 'wpctl status | less'",
+ "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && update-led-mute sink",
"max-volume": 100,
"scroll-step": 5,
"format-icons": {
@@ -117,7 +119,7 @@
"niri/language": {
"format": "{}",
"format-en": "en",
- "format-fa": "فارسی"
+ "format-fa": "فا"
},
"niri/window": {
"icon": true,
diff --git a/waybar/dot-config/waybar/style.css b/waybar/dot-config/waybar/style.css
index a8769a1..c232813 100644
--- a/waybar/dot-config/waybar/style.css
+++ b/waybar/dot-config/waybar/style.css
@@ -41,9 +41,9 @@ tooltip label {
}
#workspaces button {
- padding: 2px 2px;
+ padding: 0px;
border: none;
- border-radius: 10px;
+ border-radius: 40px;
background-color: transparent;
margin-bottom: 4px;
}
@@ -54,6 +54,9 @@ tooltip label {
#workspaces button label {
color: #bbbbbb;
+ font-size: 10px;
+ padding: 0px;
+ margin: 0px;
}
#workspaces button:hover {
@@ -67,16 +70,16 @@ tooltip label {
#workspaces button.active:not(.empty) {
background-color: #005577;
- border: 1px solid #0088aa;
+ /* border: 1px solid #0088aa; */
}
#workspaces button.active label {
- /* font-weight: bolder; */
+ font-weight: 900;
color: #eeeeee;
}
#workspaces button:not(.active):not(.empty) {
- border: 1px solid #444444;
+ /* border: 1px solid #444444; */
}
@@ -102,7 +105,7 @@ tooltip label {
#scratchpad,
#power-profiles-daemon,
#mpd {
- padding: 5 0px;
+ padding: 5px 0px;
}
#clock {
@@ -113,7 +116,7 @@ tooltip label {
#window,
#workspaces {
- margin: 4 0px;
+ margin: 4px 0px;
}
@keyframes blink {