aboutsummaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config34
-rw-r--r--waybar/style.css42
2 files changed, 76 insertions, 0 deletions
diff --git a/waybar/config b/waybar/config
new file mode 100644
index 0000000..8f0862d
--- /dev/null
+++ b/waybar/config
@@ -0,0 +1,34 @@
+{
+ "position": "top",
+ "modules-left": ["sway/workspaces"],
+ "modules-center": ["sway/window"],
+ "modules-right": ["network", "pulseaudio", "battery", "clock", "tray"],
+
+ "sway/workspaces" : {
+ "format": "{name}"
+ },
+
+ "network": {
+ "format-wifi": "直 {essid}",
+ "format-ethernet": "ﯱ {ifname}",
+ "format-disconnected": " disconnected",
+ "on-click": "connman-gtk"
+ },
+
+ "pulseaudio": {
+ "format": "墳 {volume:3}%",
+ "format-muted": "婢 mute",
+ "scroll-step": 5,
+ "on-click": "pavucontrol",
+ "on-click-right": "pulsemixer --toggle-mute"
+ },
+
+ "battery": {
+ "format": "{icon} {capacity:3}%",
+ "format-icons": ["", "", ""]
+ },
+
+ "clock": {
+ "format": " {:%Y-%m-%d %H:%M}"
+ }
+}
diff --git a/waybar/style.css b/waybar/style.css
new file mode 100644
index 0000000..2b56907
--- /dev/null
+++ b/waybar/style.css
@@ -0,0 +1,42 @@
+* {
+ font-family: Inter Regular;
+ font-size: 12pt;
+ color: white;
+}
+
+window#waybar {
+ background-color: black;
+ padding: 5px;
+}
+
+#workspaces button {
+ padding: 0 10px;
+ background-color: transparent;
+ border-radius: 0;
+}
+
+#workspaces button:hover {
+ box-shadow: inherit;
+ text-shadow: inherit;
+ background: transparent;
+ border: 1px solid rgba(255, 255, 255, 0.5);
+}
+
+#workspaces button.focused {
+ background-color: rgba(255, 255, 255, 0.3);
+}
+
+#workspaces button.urgent {
+ background-color: #eb4d4b;
+}
+
+#clock,
+#battery,
+#network,
+#pulseaudio,
+#custom-media,
+#tray {
+ padding: 0 15px;
+ border-left: 2px solid rgba(255, 255, 255, 0.2);
+ font-family: "RobotoMono Nerd Font";
+}