summaryrefslogtreecommitdiff
path: root/waybar/.config
diff options
context:
space:
mode:
authorNate Buttke <nate-web@riseup.net>2022-01-15 23:21:47 -0800
committerNate Buttke <nate-web@riseup.net>2022-01-15 23:21:47 -0800
commit3281eb1d839dcff721fe6aa8fbd6033678fc4a9d (patch)
tree02de45102613357591f0d39e2858fc722670349e /waybar/.config
initial commit
Diffstat (limited to 'waybar/.config')
-rw-r--r--waybar/.config/waybar/config65
-rw-r--r--waybar/.config/waybar/style.css116
2 files changed, 181 insertions, 0 deletions
diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config
new file mode 100644
index 0000000..b81dffb
--- /dev/null
+++ b/waybar/.config/waybar/config
@@ -0,0 +1,65 @@
+{
+ "height": 20, // Waybar height (to be removed for auto height)
+ "modules-left": ["river/tags"],
+ "modules-right": ["pulseaudio", "network", "battery","clock"],
+
+ "river/tags": {
+ "num-tags": 9
+ },
+
+ "clock": {
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format-alt": "{:%Y-%m-%d}"
+ },
+
+ "backlight": {
+ // "device": "acpi_video1",
+ "format": "{percent}% {icon}",
+ "format-icons": ["", ""]
+ },
+
+ "battery": {
+ "states": {
+ // "good": 95,
+ "warning": 10,
+ "critical": 5
+ },
+ "format": "{capacity}% {icon}",
+ "format-charging": "{capacity}% 🔋",
+ "format-plugged": "{capacity}% 🔌",
+ "format-alt": "{time} {icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "format-wifi": "{essid} ({signalStrength}%) 🌍",
+ "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
+ "format-linked": "{ifname} (No IP) ❗",
+ "format-disconnected": "Disconnected 🛑",
+ "format-alt": "{ifname}: {ipaddr}/{cidr}"
+ },
+
+ "pulseaudio": {
+ // "scroll-step": 1, // %, can be a float
+ "format": "{volume}% {icon} {format_source}",
+ "format-bluetooth": "{volume}% {icon} {format_source}",
+ "format-bluetooth-muted": " {icon} {format_source}",
+ "format-muted": " {format_source}",
+ "format-source": "{volume}% 🎤",
+ "format-source-muted": "🤫",
+ "format-icons": {
+ "headphone": "🎧",
+ "hands-free": "",
+ "headset": "",
+ "phone": "☎️",
+ "portable": "📱",
+ "car": "🚗",
+ "default": ["🔈", "🔉", "🔊"]
+ },
+ "on-click": "alacritty -e pulsemixer"
+ },
+}
+
diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css
new file mode 100644
index 0000000..76e830e
--- /dev/null
+++ b/waybar/.config/waybar/style.css
@@ -0,0 +1,116 @@
+* {
+ border: none;
+ border-radius: 0;
+ font-family: "Terminus";
+ font-size: 13px;
+ min-height: 0;
+}
+
+#tags{
+ margin-top: 2px;
+ margin-left: 2px;
+ padding: 1px;
+ background-color: transparent;
+}
+
+#tags button {
+ margin: 1px;
+ padding: 2px;
+ color: #93a1a1;
+}
+
+#tags button:hover {
+ box-shadow: inherit;
+ text-shadow: inherit;
+ background: #073624;
+}
+
+#tags button.focused {
+ color: #073642;
+ background-color: #93a1a1;
+ border: 2px solid #073624;
+}
+
+#tags button.urgent {
+ color: #073642;
+ background-color: tomato;
+ border: 2px solid #073624;
+}
+
+#tags button.occupied {
+ border: 2px solid #93a1a1;
+}
+
+window#waybar {
+ background: transparent;
+ color: white;
+}
+
+#window {
+ font-weight: bold;
+}
+
+#mode {
+ background: #64727D;
+ border-bottom: 3px solid white;
+}
+
+#clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #mode {
+ padding: 0 3px;
+ margin: 0 2px;
+}
+
+#clock {
+ font-weight: bold;
+ font-family: "Terminus";
+}
+
+#battery {
+}
+
+#battery icon {
+ color: white;
+}
+
+#battery.charging {
+}
+
+@keyframes blink {
+ to {
+ background-color: #ffffff;
+ color: black;
+ }
+}
+
+#battery.warning:not(.charging) {
+ color: #f53c3c;
+ animation-name: blink;
+ animation-duration: 0.5s;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
+ animation-direction: alternate;
+}
+
+#cpu {
+}
+
+#memory {
+}
+
+#network {
+}
+
+#network.disconnected {
+ background: #f53c3c;
+}
+
+#pulseaudio {
+}
+
+#pulseaudio.muted {
+}
+
+
+#tray {
+}
+