Initial Commit
This commit is contained in:
100
waybar/config
Normal file
100
waybar/config
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 35,
|
||||
"spacing": 0,
|
||||
"modules-left": ["hyprland/workspaces", "custom/media"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": ["tray", "pulseaudio", "cpu", "memory", "custom/gpu-usage", "custom/brightness", "battery", "clock", "custom/power"],
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"active": "",
|
||||
"1":"1",
|
||||
"2":"2",
|
||||
"3":"3",
|
||||
"4":"4",
|
||||
"5":"5",
|
||||
"6":"6",
|
||||
"7":"7",
|
||||
"8":"8",
|
||||
"9":"9",
|
||||
"10":"10"
|
||||
}
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"(.*)Mozilla Firefox": "Firefox",
|
||||
"Alacritty": "Terminal",
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"timezone": "Europe/Brussels",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%d-%m-%Y}"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 2,
|
||||
"format": "CPU {usage}%",
|
||||
"tooltip": false,
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": "RAM {}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}% {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": {
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"custom/media": {
|
||||
"interval": 2,
|
||||
"max-length": 50,
|
||||
"return-type": "json",
|
||||
"escape": true,
|
||||
"exec": "playerctlwaybar",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-up": "playerctl previous",
|
||||
"on-scroll-down": "playerctl next"
|
||||
},
|
||||
"custom/gpu-usage": {
|
||||
"format": "GPU {}",
|
||||
"exec": "gpu-usage-waybar",
|
||||
"return-type": "json",
|
||||
"on-click": "alacritty -e nvtop",
|
||||
},
|
||||
"custom/brightness": {
|
||||
"format": " {}",
|
||||
"interval": 2,
|
||||
"exec": "brightctl info",
|
||||
"on-click": "brightctl run"
|
||||
},
|
||||
"battery": {
|
||||
"bat": "BAT1",
|
||||
"interval": "60",
|
||||
"states": {
|
||||
"warning": 25,
|
||||
"critical": 10,
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"on-click": "hypedown"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user