41 lines
828 B
Markdown
41 lines
828 B
Markdown
DeaDvey's domain
|
|
|
|
[Home page](/index.md) [Blogs](/blog/index.md) [Resources](/resources/index.md)
|
|
---
|
|
***Waybar:***
|
|
|
|
**Helpful resources:**
|
|
- [Waybar wiki](https://github.com/Alexays/Waybar/wiki)
|
|
- [Waybar examples](https://github-wiki-see.page/m/Alexays/Waybar/wiki/Examples)
|
|
- `man waybar`, Waybar manual entry
|
|
|
|
**Configuration**
|
|
- A waybar that does not interact with windows, but that you can still click:
|
|
%%%
|
|
# in the config file
|
|
"exclusive": false,
|
|
"layer": top,
|
|
|
|
# OR in home manager
|
|
exclusive = falase;
|
|
layer = top;
|
|
%%%
|
|
|
|
**Scripts:**
|
|
- Run a script in waybar:
|
|
%%%
|
|
# in the config file
|
|
"custom/script": {
|
|
"exec": "bash /path/to/script",
|
|
"format": "output: {}",
|
|
"interval": 1
|
|
},
|
|
|
|
# OR in home manager
|
|
"custom/script" = {
|
|
exec = "bash /path/to/script";
|
|
format = "output: {}";
|
|
interval = 1;
|
|
}
|
|
%%%
|