summaryrefslogtreecommitdiff
path: root/artix/home/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'artix/home/.config/waybar')
-rw-r--r--artix/home/.config/waybar/config.jsonc90
-rw-r--r--artix/home/.config/waybar/style.css94
2 files changed, 184 insertions, 0 deletions
diff --git a/artix/home/.config/waybar/config.jsonc b/artix/home/.config/waybar/config.jsonc
new file mode 100644
index 0000000..c13824a
--- /dev/null
+++ b/artix/home/.config/waybar/config.jsonc
@@ -0,0 +1,90 @@
+{
+ "margin-top": 15,
+ "margin-left": 15,
+ "margin-right": 15,
+ "layer": "top",
+ "position": "top",
+ "spacing": 3,
+ // All modules : battery, pulseaudio, tray, hyprland/workspaces, clock, cpu, memory, network
+ "modules-left": [
+ "hyprland/workspaces",
+ "hyprland/window"
+ ],
+ "modules-center": [
+ "clock"
+ ],
+ "modules-right": [
+ "tray",
+ "battery",
+ "pulseaudio",
+ "temperature",
+ "cpu",
+ "memory",
+ "network"
+ ],
+ "temperature": {
+ "format": "TEMP: {temperatureC}°C",
+ "hwmon-path": [
+ "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input"
+ ],
+ "critical-threshold": 65,
+ "interval": 3
+ },
+ "hyprland/workspaces": {
+ "format": "{id}",
+ "show-special": true
+ },
+ "hyprland/window": {
+ "format": "{initialTitle}",
+ "tooltip": false,
+ "icon": true
+ },
+ "network": {
+ "format": "{ifname}",
+ "format-disconnected": "NULL",
+ "interval": 5,
+ "tooltip": true,
+ "tooltip-format": "{essid}"
+ },
+ "cpu": {
+ "format": "CPU: {usage}%",
+ "interval": 3,
+ "states": {
+ "warning": 40,
+ "urgent": 60,
+ "critical": 80
+ }
+ },
+ "memory": {
+ "format": "MEM: {percentage}%",
+ "format-alt": "MEM: {used} GiB",
+ "interval": 3,
+ "states": {
+ "warning": 40,
+ "urgent": 60,
+ "critical": 80
+ },
+ "tooltip": true,
+ "tooltip-format": "{used}/{total} GiB"
+ },
+ "pulseaudio": {
+ "format": "VOL: {volume}%",
+ "format-bluetooth": "VOL: {volume}%",
+ "format-muted": "MUTED",
+ "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
+ },
+ "battery": {
+ "format": "BAT: {capacity}%",
+ "interval": 5,
+ "states": {
+ "warning": 60,
+ "urgent": 35,
+ "critical": 20
+ }
+ },
+ "clock": {
+ "format": "{:%H:%M:%S - %a %d %B %Y}",
+ "tooltip": false,
+ "interval": 1
+ }
+}
diff --git a/artix/home/.config/waybar/style.css b/artix/home/.config/waybar/style.css
new file mode 100644
index 0000000..cc2bab3
--- /dev/null
+++ b/artix/home/.config/waybar/style.css
@@ -0,0 +1,94 @@
+* {
+ font-family: "0xProto Nerd Font";
+ font-weight: bold;
+}
+
+#waybar {
+ background: #1a1b26;
+ color: #fff;
+}
+
+#workspaces button {
+ color: #fff;
+ border-radius: 0;
+}
+
+#workspaces button.active {
+ background: #ad8ee6;
+}
+
+#workspaces button.special {
+ background: #7aa2f7;
+}
+
+#workspaces button.urgent {
+ background: #f7768e;
+}
+
+#workspaces button:hover {
+ box-shadow: none;
+ text-shadow: none;
+ background: #32344a;
+ border: none;
+ transition: none;
+ color: #7aa2f7;
+}
+
+#battery,
+#cpu,
+#memory,
+#pulseaudio,
+#network,
+#clock,
+#tray,
+#temperature,
+#workspaces button {
+ padding: 7 7;
+}
+
+#network {
+ background: #449dab;
+}
+
+#pulseaudio {
+ background: #ad8ee6;
+}
+
+#pulseaudio.bluetooth {
+ background: #7aa2f7;
+}
+
+#battery,
+#cpu,
+#memory,
+#temperature {
+ background: #9ece6a;
+}
+
+#battery.warning,
+#cpu.warning,
+#memory.warning {
+ background: #e0af68;
+}
+
+#battery.urgent,
+#cpu.urgent,
+#memory.urgent,
+#network.disabled {
+ background: #ff9e64;
+}
+
+#battery.critical,
+#cpu.critical,
+#pulseaudio.muted,
+#memory.critical,
+#network.disconnected,
+#temperature.critical {
+ background: #f7768e
+}
+
+#window {
+ margin-left: 10px;
+ background: #32344a;
+ padding: 7;
+}