From 5b751ab634c64ba52ad312860e0595f7d7637f55 Mon Sep 17 00:00:00 2001 From: djorgensen Date: Tue, 17 Nov 2026 15:47:42 -0600 Subject: [PATCH] Upload files to ".config/waybar" --- .config/waybar/README.md | 106 +++++++++++++++++++++++++++++++++++ .config/waybar/audio.jsonc | 28 +++++++++ .config/waybar/battery.jsonc | 30 ++++++++++ .config/waybar/config.jsonc | 40 +++++++++++++ .config/waybar/style.css | 19 +++++++ 5 files changed, 223 insertions(+) create mode 100644 .config/waybar/README.md create mode 100644 .config/waybar/audio.jsonc create mode 100644 .config/waybar/battery.jsonc create mode 100644 .config/waybar/config.jsonc create mode 100644 .config/waybar/style.css diff --git a/.config/waybar/README.md b/.config/waybar/README.md new file mode 100644 index 0000000..ad14080 --- /dev/null +++ b/.config/waybar/README.md @@ -0,0 +1,106 @@ +# Waybar + +### Full Dekstop +full_desktop_waybar + +### Showcase +https://github.com/user-attachments/assets/150b7b3d-9b5d-4a0f-a7a4-47977d99e9e5 + +--- + +### Structure + +``` +waybar/ +├── config.jsonc # Entry point, loads all modules +├── style.css # Main stylesheet +├── modules/ +│ ├── audio.jsonc +│ ├── battery.jsonc +│ ├── clock.jsonc +│ ├── connections.jsonc +│ ├── distro.jsonc < Applications embedded +│ ├── groups.jsonc # Drawer grouping +│ ├── idle-inhibitor.jsonc +│ ├── power-profiles-daemon.jsonc +│ ├── storage.jsonc +│ ├── system.jsonc +│ ├── tray-notif.jsonc # Tray + SwayNC +│ └── workspace.jsonc +└── tokens/ # CSS variables + ├── colors.css < edit colors here + ├── batt-clock.css + ├── slider.css + ├── state.css + ├── widget.css + └── workspace.css +``` + +--- + +### Dependencies + +| Package | Purpose | +| --- | --- | +| [SwayNC](https://github.com/ErikReider/SwayNotificationCenter) | Notification center | +| [nm-applet](https://wiki.archlinux.org/title/NetworkManager) | Network manager | +| [blueman](https://wiki.archlinux.org/title/Blueman) | Bluetooth manager | +| [pipewire](https://wiki.archlinux.org/title/PipeWire) / [pulseaudio](https://wiki.archlinux.org/title/PulseAudio) | Audio | + +### Installation +```bash +git clone https://github.com/haikal-hakim/athena.git +cd athena +cp -r .config/waybar ~/.config/waybar +``` +--- + +>[!IMPORTANT] +>Open file `waybar/modules/clock`, and change this; + +```bash +{ + "clock": { + "timezone": "REGION/CITY", + "format": "󰃱 {:%H.%M }", + "format-alt": "󰃱 {:%d %B %Y}", + "tooltip-format": "{calendar}" + } +} +``` + +--- + +### Modules + +| Module | Interaction | Action | +| --- | --- | --- | +| Network | Left click | Show `nm-applet` in tray| +| | Right click | Hide `nm-applet` in tray| +| | Scroll up | Enable Wi-Fi | +| | Scroll down | Disable Wi-Fi | +| Bluetooth | Left click | Open `blueman-manager` | +| | Right click | Toggle power on/off | +| SwayNC | Left click | Open/close panel | +| | Right click | Toggle Do Not Disturb | +| Power Profiles | Click | Toggle Saver > Balance > Performance | +| Idle Inhibitor | Click | Toggle screen dimming | + +--- + +### Colors + +Edit `tokens/colors.css` to match your preference. + +> [!TIP] +> For automatic color generation from your wallpaper, see `.config/matugen` and `.config/zsh`. + +--- + +## Acknowledgments +* **[Waybar](https://github.com/Alexays/Waybar)** - Created by **Alexays**. Huge thanks for this amazing and highly customizable status bar. +* All the contributors who have made Waybar what it is today. +* I personally customized this configuration to fit the **Athena** desktop. + +--- +Developed by Muhammad Haikal Hakim. diff --git a/.config/waybar/audio.jsonc b/.config/waybar/audio.jsonc new file mode 100644 index 0000000..9a98d47 --- /dev/null +++ b/.config/waybar/audio.jsonc @@ -0,0 +1,28 @@ +{ + "pulseaudio": { + "format": "{icon}", + "format-muted": "", + "format-icons": { + "headphone": "󰋋", + "headset": "󰋋", + "hands-free": "󰋋", + "default": [ + "", + "", + "" + ] + }, + "on-click": "pavucontrol", + "tooltip-format": "Output: {volume}%" + }, + "pulseaudio#microphone": { + "format": "{format_source}", + "format-source": "", + "format-source-muted": "" + }, + "pulseaudio/slider": { + "min": 0, + "max": 100, + "orientation": "horizontal" + } +} diff --git a/.config/waybar/battery.jsonc b/.config/waybar/battery.jsonc new file mode 100644 index 0000000..7f186db --- /dev/null +++ b/.config/waybar/battery.jsonc @@ -0,0 +1,30 @@ +{ + "battery": { + "interval": 60, + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-full": "{icon} {capacity}%", + "format-charging": "󱐌 {capacity}%", + "format-plugged": " ", + "format-alt": "{icon} {time}", + "tooltip-format": "{timeTo}\n\n󰠠 Usage: {power:0.1f}W\n󱤅 Condition: {health}%\n󱍸 Total: {cycles} cycles", + "format-icons": { + "default": [ + "󰂎", + "󰁺", + "󰁻", + "󰁼", + "󰁽", + "󰁾", + "󰁿", + "󰂀", + "󰂁", + "󰂂", + "󰁹" + ] + } + } +} diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc new file mode 100644 index 0000000..6b4845c --- /dev/null +++ b/.config/waybar/config.jsonc @@ -0,0 +1,40 @@ +/* + * @author Muhammad Haikal Hakim + * @repository https://github.com/haikal-hakim/athena + */ +{ + "layer": "top", + "height": 42, + "spacing": 6, + "include": [ + "./modules/groups.jsonc", + "./modules/distro.jsonc", + "./modules/storage.jsonc", + "./modules/system.jsonc", + "./modules/power-profiles-daemon.jsonc", + "./modules/workspace.jsonc", + "./modules/idle-ihibitor.jsonc", + "./modules/audio.jsonc", + "./modules/connections.jsonc", + "./modules/battery.jsonc", + "./modules/clock.jsonc", + "./modules/tray-notif.jsonc" + ], + "modules-left": [ + "group/distro-group", + "group/storage", + "group/system" + ], + "modules-center": [ + "power-profiles-daemon", + "hyprland/workspaces", + "idle_inhibitor" + ], + "modules-right": [ + "group/audio", + "group/connections", + "battery", + "clock", + "group/tray-group" + ] +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..9a6f354 --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,19 @@ +@import "tokens/colors.css"; +@import "tokens/state.css"; +@import "tokens/workspace.css"; +@import "tokens/widget.css"; +@import "tokens/batt-clock.css"; +@import "tokens/slider.css"; + +* { + margin: 0; + padding: 0; + min-height: 0px; + border: none; + border-radius: 0; + font-family: "JetBrainsMono Nerd Font"; +} + +window#waybar { + background: transparent; +}