✨ add waybar config
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
494431a913
commit
11b1185afc
2 changed files with 241 additions and 0 deletions
83
.config/waybar/config
Normal file
83
.config/waybar/config
Normal file
|
@ -0,0 +1,83 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 40,
|
||||
"spacing": 0,
|
||||
"exclusive": true,
|
||||
"gtk-layer-shell": true,
|
||||
"passthrough": false,
|
||||
"fixed-center": true,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["custom/spotify"],
|
||||
"modules-right": [
|
||||
"battery",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"clock",
|
||||
"clock#simpleclock",
|
||||
"tray",
|
||||
"custom/power",
|
||||
],
|
||||
"custom/spotify": {
|
||||
"format": " {}",
|
||||
"return-type": "json",
|
||||
"on-click": "playerctl -p spotify play-pause",
|
||||
"on-click-right": "spotifatius toggle-liked",
|
||||
"on-click-middle": "playerctl -p spotify next",
|
||||
"exec": "spotifatius monitor",
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"format": "{name}",
|
||||
"all-outputs": true,
|
||||
"disable-scroll": false,
|
||||
"active-only": false,
|
||||
},
|
||||
"backlight": {
|
||||
"device": "amdgpu_b10",
|
||||
"format": "<span color='#d9b172'>{icon}</span> {percent}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
"battery": {
|
||||
"format": "<span color='#a8cd76'>{icon}</span> {capacity}%",
|
||||
//"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"format-charging": "<span color='#a8cd76'></span> {capacity}%"
|
||||
},
|
||||
"tray": {
|
||||
"show-passive-items": true,
|
||||
"spacing": 10,
|
||||
},
|
||||
"clock#simpleclock": {
|
||||
"tooltip": false,
|
||||
"format": " {:%H:%M}",
|
||||
},
|
||||
"clock": {
|
||||
"format": " {:L%a %d %b}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " muted",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""],
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
},
|
||||
"custom/sep": {
|
||||
"format": "|",
|
||||
"tooltip": false,
|
||||
},
|
||||
"custom/power": {
|
||||
"tooltip": false,
|
||||
"on-click": "wlogout -p layer-shell &",
|
||||
"format": "⏻ ",
|
||||
},
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue