summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config24
-rw-r--r--.config/waybar/style.css47
2 files changed, 71 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
new file mode 100644
index 0000000..56b1359
--- /dev/null
+++ b/.config/waybar/config
@@ -0,0 +1,24 @@
+{
+ "layer": "top",
+ "modules-left": ["sway/workspaces", "sway/mode"],
+ "modules-center": ["sway/window"],
+ "modules-right": ["tray", "pulseaudio", "network", "clock"],
+ "sway/window": {
+ "max-length": 100
+ },
+ "tray": {
+ "show-passive-items": true
+ },
+ "pulseaudio": {
+ "format": "V {volume}%",
+ },
+ "network": {
+ "format": "{ipaddr}",
+ "format-disconnected": "Offline",
+ "interval": 86400
+ },
+ "clock": {
+ "format": "{:%a %d. %b %H:%M}"
+ }
+}
+
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
new file mode 100644
index 0000000..64618bc
--- /dev/null
+++ b/.config/waybar/style.css
@@ -0,0 +1,47 @@
+#waybar {
+ background: rgba(0, 0, 0, 0.55);
+ color: #fff;
+ font-size: 0.9rem;
+}
+
+#workspaces {
+ border: 1px solid rgba(255, 255, 255, 0.25);
+}
+#workspaces button {
+ color: #fff;
+ padding: 0;
+ border-radius: 0;
+ min-height: 0;
+ min-width: 25px;
+ font-size: 0.8rem;
+}
+#workspaces button.focused {
+ background: rgba(255, 255, 255, 0.2);
+}
+#workspaces button + button {
+ border-left: 1px solid rgba(255, 255, 255, 0.25);
+}
+
+.modules-center {
+ padding: 5px 0;
+}
+
+.modules-right label,
+.modules-right box {
+ padding: 0 10px;
+}
+.modules-right widget:nth-child(odd) label,
+.modules-right widget:nth-child(odd) box {
+ background: rgba(255, 255, 255, 0.2);
+}
+.modules-right widget:nth-child(even) label,
+.modules-right widget:nth-child(even) box {
+ background: rgba(255, 255, 255, 0.25);
+}
+
+#mode {
+ border-bottom: 1px solid #fff;
+ margin: 0 10px;
+ padding: 0 5px;
+}
+