Upload files to ".config/waybar"
This commit is contained in:
1 parent
f65d9f7011
commit
5b751ab634
5 files changed
+223
No files matched your search
@@ -0,0 +1,106 @@
|
|||||||
|
# Waybar
|
||||||
|
|
||||||
|
### Full Dekstop
|
||||||
|
<img width="2880" height="1800" alt="full_desktop_waybar" src="https://github.com/user-attachments/assets/c9ee976f-83c0-4dfd-95c5-a5d0de4bc33c" />
|
||||||
|
|
||||||
|
### 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": " <span size='11pt'>{:%H.%M }</span>",
|
||||||
|
"format-alt": " <span size='11pt'>{:%d %B %Y}</span>",
|
||||||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 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.
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"battery": {
|
||||||
|
"interval": 60,
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} <span size='11pt'>{capacity}%</span>",
|
||||||
|
"format-full": "{icon} <span size='11pt'>{capacity}%</span>",
|
||||||
|
"format-charging": "<span size='12pt'></span> <span size='11pt'>{capacity}%</span>",
|
||||||
|
"format-plugged": " <span size='11pt'></span>",
|
||||||
|
"format-alt": "{icon} <span size='11pt'>{time}</span>",
|
||||||
|
"tooltip-format": "{timeTo}\n\n Usage: {power:0.1f}W\n Condition: {health}%\n Total: {cycles} cycles",
|
||||||
|
"format-icons": {
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user