aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-07-10 10:49:55 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-07-10 10:49:55 +0000
commit9ea4e05127e7aaf79a58f98076288b25973e949f (patch)
tree38e526e572e48a4c9e9cf08d6d1a6dabacb893c9 /.config/waybar
parentdd03d22b6605aa26ceb9d2fbaf9b24c4ceb0e0fb (diff)
backup
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config.jsonc112
-rw-r--r--.config/waybar/style.css87
2 files changed, 199 insertions, 0 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
new file mode 100644
index 0000000..352880c
--- /dev/null
+++ b/.config/waybar/config.jsonc
@@ -0,0 +1,112 @@
+{
+ // "layer": "top", // Waybar at top layer
+ // "position": "bottom", // Waybar position (top|bottom|left|right)
+ // "height": 30, // Waybar height (to be removed for auto height)
+ // "width": 1280, // Waybar width
+ "margin-top": 0,
+ "margin-left": 0,
+ "margin-right": 0,
+ "spacing": 8,
+ "modules-left": [
+ //"dwl/tags",
+ //"niri/workspaces",
+ "hyprland/workspaces",
+ //"sway/workspaces",
+ "custom/media"
+ ],
+ "modules-center": [
+ ],
+ "modules-right": [
+ "tray",
+ "battery",
+ ],
+ "niri/workspaces": {
+ "format": "{name}"
+ },
+ "hyprland/workspaces": {
+ "format": "{name}"
+ },
+ "dwl/tags": {
+ "num-tags": 9
+ },
+ "sway/workspaces": {
+ "format": "{name}"
+ },
+ "tray": {
+ "icon-size": 16,
+ "spacing": 10
+ },
+ "cpu": {
+ "format": "{usage}% ",
+ "tooltip": false
+ },
+ "memory": {
+ "format": "{}% "
+ },
+ "temperature": {
+ // "thermal-zone": 2,
+ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "critical-threshold": 80,
+ // "format-critical": "{temperatureC}°C {icon}",
+ "format": "{temperatureC}°C {icon}",
+ "format-icons": ["", "", ""]
+ },
+ "battery": {
+ "states": {
+ // "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-full": "{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": ["", "", "", "", ""]
+ },
+ "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": "pavucontrol"
+ },
+ "custom/media": {
+ "format": "{icon} {}",
+ "return-type": "json",
+ "max-length": 40,
+ "format-icons": {
+ "spotify": "",
+ "default": "🎜"
+ },
+ "escape": true,
+ "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
+ // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
+ },
+ "custom/power": {
+ "format" : "⏻ ",
+ "tooltip": false,
+ "menu": "on-click",
+ "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
+ "menu-actions": {
+ "shutdown": "shutdown",
+ "reboot": "reboot",
+ "suspend": "systemctl suspend",
+ "hibernate": "systemctl hibernate"
+ }
+ }
+} \ No newline at end of file
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
new file mode 100644
index 0000000..047740e
--- /dev/null
+++ b/.config/waybar/style.css
@@ -0,0 +1,87 @@
+@define-color black #0f0f0f;
+@define-color gray-0 #131414;
+@define-color gray-1 #1D1F1E;
+@define-color gray-2 #272A28;
+@define-color gray-3 #3A3F3C;
+@define-color gray-4 #585F5A;
+@define-color gray-5 #6B746E;
+@define-color gray-6 #878E7A;
+@define-color gray-7 #999C8B;
+@define-color gray-8 #B6B69A;
+@define-color gray-9 #D8CCB4;
+@define-color gray-10 #E3DAC9;
+@define-color white #F9EEE5;
+@define-color light-yellow #efbe71;
+@define-color yellow #ef944d;
+
+* {
+ border-radius: 0px;
+ font-family: Maple Mono NF;
+ font-weight: 600;
+ font-size: 14px;
+ margin: 1px;
+}
+
+window#waybar {
+ background-color: @black;
+ border: 2px solid @black;
+ border-radius: 0px;
+}
+
+#workspaces, #tags {
+ border: none;
+ background: @gray-1;
+ box-shadow: none;
+ text-shadow: none;
+ padding: 4px;
+ margin: 4px;
+}
+
+#workspaces button, #tags button {
+ border: none;
+ border-radius: 0px;
+ background: @gray-2;
+ box-shadow: none;
+ text-shadow: none;
+ padding: 2 12px;
+ margin: 2px;
+ color: @light-yellow;
+}
+
+#workspaces button:hover, #tags button:hover {
+ border: none;
+ background: @gray-3;
+ font-weight: 600;
+ color: @light-yellow;
+}
+
+#workspaces button.active, button.focused, #tags button.active, button.focused {
+ border: none;
+ background: @yellow;
+ color: @black;
+ padding: 2 24px;
+}
+
+#workspaces button.active:hover, button.focused:hover, #tags button.active:hover, button.focused:hover {
+ border: none;
+ background: @light-yellow;
+ color: @black;
+ padding: 2 24px;
+}
+
+#clock, #cpu, #pulseaudio, #memory, #temperature, #battery, #tray {
+ border: none;
+ background: @gray-1;
+ box-shadow: none;
+ text-shadow: none;
+ padding: 0 16px;
+ margin: 4px;
+ color: @white;
+}
+
+#clock:hover, #cpu:hover, #pulseaudio:hover, #memory:hover, #temperature:hover, #battery:hover, #tray:hover {
+ border: none;
+ background: @gray-3;
+ font-weight: 600;
+ color: @white;
+}