summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2023-11-27 13:03:12 -0500
committerFreya Murphy <freya@freyacat.org>2023-11-27 13:03:12 -0500
commit849ab46bd68fd8e8c275cfa8b918a16cfcd59642 (patch)
tree0e6d10d74c6e5096ab8b6c725eb475949edb20fb /.config/waybar
downloaddotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.tar.gz
dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.tar.bz2
dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.zip
initial
Diffstat (limited to '')
-rw-r--r--.config/waybar/config81
-rw-r--r--.config/waybar/style.css151
2 files changed, 232 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
new file mode 100644
index 0000000..b98b070
--- /dev/null
+++ b/.config/waybar/config
@@ -0,0 +1,81 @@
+{
+ "height": 24,
+ "position": "top",
+ "spacing": 4,
+ "modules-left": [
+ "sway/workspaces",
+ "sway/window"
+ ],
+ "modules-center": [],
+ "modules-right": [
+ "cpu",
+ "memory",
+ "temperature",
+ "battery",
+ "backlight",
+ "wireplumber",
+ "network",
+ "clock",
+ "tray"
+ ],
+ "sway/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": true,
+ "format": "{name}"
+ },
+ "tray": {
+ "spacing": 10
+ },
+ "clock": {
+ "interval": 1,
+ "format": "{:%Y-%m-%d %a %H:%M:%S}"
+ },
+ "cpu": {
+ "interval": 1,
+ "format": " {usage}%",
+ "tooltip": false
+ },
+ "memory": {
+ "interval": 1,
+ "format": " {}%",
+ "tooltip": false
+ },
+ "temperature": {
+ "interval": 1,
+ "thermal-zone": 0,
+ "critical-threshold": 80,
+ "format": " {temperatureC}°"
+ },
+ "battery": {
+ "interval": 1,
+ "states": {
+ "warning": 30,
+ "critical": 15
+ },
+ "format": " {capacity}%",
+ "format-charging": " {capacity}%",
+ "format-plugged": " {capacity}%",
+ "format-full": " {capacity}%",
+ "format-warning": " {capacity}%",
+ "format-critical": " {capacity}%"
+ },
+ "backlight": {
+ "format": " {percent}%"
+ },
+ "wireplumber": {
+ "format": " {volume}%",
+ "format-bluetooth": " {volume}%",
+ "format-muted": " muted",
+ "scroll-step": 1,
+ "on-click": "pavucontrol",
+ "ignored-sinks": ["Easy Effects Sink"]
+ },
+ "network": {
+ "format": " disconnected",
+ "format-wifi": " {essid}",
+ "format-ethernet": " {ipaddr}/{cidr}",
+ "format-disconnected": " disconnected",
+ "max-length": 50,
+ "on-click": "nm-connection-editor",
+ }
+}
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
new file mode 100644
index 0000000..0ca11f2
--- /dev/null
+++ b/.config/waybar/style.css
@@ -0,0 +1,151 @@
+* {
+ font-family: "Fira Mono", "Font Awesome 6 Pro", monospace;
+ font-size: 13.5px;
+ transition: none;
+ margin: 0;
+ padding: 0;
+}
+
+/*
+#waybar {
+ background-color: rgba(20, 23, 29, 0.85);
+ color: #c7c6c3;
+}
+*/
+
+window#waybar {
+ background-color: rgba(20, 23, 29, 0.85);
+ color: #c7c6c3;
+}
+
+/*
+window#waybar > box {
+ margin-bottom: 8px;
+ color: #c7c6c3;
+ box-shadow: 0px 0px 3px 2px rgba(20, 23, 29, 0.70);
+}
+*/
+
+button {
+ border: none;
+ border-radius: 0;
+}
+
+#workspaces button {
+ margin: 1px 0px;
+ padding: 0px 5px;
+ color: #c7c6c3;
+ background-color: rgba(0, 0, 0, 0);
+}
+
+#workspaces button:hover {
+ box-shadow: inherit;
+ text-shadow: inherit;
+}
+
+#workspaces button.focused {
+ background-color: #789ebf;
+ color: #14171d;
+ box-shadow: inherit;
+ text-shadow: inherit;
+}
+
+#workspaces button.urgent {
+ background-color: #cc5c5c;
+ box-shadow: inherit;
+ text-shadow: inherit;
+}
+
+#clock,
+#battery,
+#cpu,
+#memory,
+#disk,
+#temperature,
+#backlight,
+#network,
+#wireplumber,
+#custom-media,
+#tray,
+#mode,
+#idle_inhibitor,
+#scratchpad,
+#custom-cmus,
+#custom-newsboat,
+#mpd {
+ padding: 0 10px;
+ border-right: 1px solid #4d4754;
+ color: #c7c6c3;
+}
+
+#tray {
+ border: none;
+}
+
+#window {
+ padding: 0 10px;
+ border-left: 1px solid #4d4754;
+ color: #c7c6c3;
+}
+
+#window,
+#workspaces {
+ margin: 0 4px;
+}
+
+
+#battery {
+ color: #97bd5e;
+}
+
+#battery.warning:not(.charging) {
+ color: #f0c767;
+}
+
+#battery.critical:not(.charging) {
+ color: #cc5c5c;
+}
+
+#network.disconnected, #wireplumber.muted {
+ color: #cc5c5c;
+}
+
+#network.wifi, #network.ethernet {
+ color: #789ebf;
+}
+
+#wireplumber {
+ color: #E0DB5F;
+}
+
+#backlight {
+ color: #E05F91;
+}
+
+#cpu {
+ color: #789ebf;
+}
+
+#memory {
+ color: #a97fb3;
+}
+
+#temperature {
+ color: #97bd5e;
+}
+
+#temperature.critical {
+ color: #cc5c5c;
+}
+
+#custom-newsboat {
+ color: #de7e54;
+}
+
+#tray > .passive {
+ -gtk-icon-effect: dim;
+}
+
+#tray > .needs-attention {
+ -gtk-icon-effect: highlight;
+}