update configs
This commit is contained in:
111
.config/waybar/config.jsonc
Normal file
111
.config/waybar/config.jsonc
Normal file
@ -0,0 +1,111 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"output" : "DP-2",
|
||||
"modules-left": [
|
||||
"custom/power",
|
||||
"hyprland/workspaces",
|
||||
"custom/spotify"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock",
|
||||
],
|
||||
"modules-right": [
|
||||
"privacy",
|
||||
"pulseaudio",
|
||||
"cpu",
|
||||
"memory",
|
||||
"bluetooth",
|
||||
// "network",
|
||||
"custom/wireguard"
|
||||
],
|
||||
"custom/power": {
|
||||
"format": "⏻",
|
||||
"tooltip": false,
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
"tooltip": false,
|
||||
"all-outputs": true,
|
||||
"on-click": "none"
|
||||
},
|
||||
"clock": {
|
||||
"format": "{0:%H:%M:%S}",
|
||||
"interval": 1,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{0:%A, %d.%m.%Y W%W}"
|
||||
},
|
||||
"custom/spotify": {
|
||||
"exec": "/usr/bin/python3 /home/paul/downloads/repos/Waybar/resources/custom_modules/mediaplayer.py",
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-up": "playerctl next",
|
||||
"on-scroll-down": "playerctl previous"
|
||||
},
|
||||
"privacy": {
|
||||
"icon-spacing": 4,
|
||||
"icon-size": 12,
|
||||
"transition-duration": 250,
|
||||
"modules": [
|
||||
{
|
||||
"type": "screenshare",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-in",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
}
|
||||
]
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"interval": 5,
|
||||
"on-click": "hyprctl dispatch exec 'resources -t cpu'"
|
||||
},
|
||||
"memory": {
|
||||
"format": " {percentage}% ({used}G)",
|
||||
"interval": 5,
|
||||
"on-click": "hyprctl dispatch exec 'resources -t memory'"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"scroll-step": 1,
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": " {status}",
|
||||
"format-disabled": "", // an empty format will hide the module
|
||||
"format-connected": " {num_connections}",
|
||||
"tooltip-format": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias} {device_address}",
|
||||
"on-click": "hyprctl dispatch exec overskride"
|
||||
},
|
||||
// "network": {
|
||||
// "format": " {ifname}",
|
||||
// "format-ethernet": " {ipaddr}/{cidr}",
|
||||
// "tooltip": false,
|
||||
// },
|
||||
"custom/wireguard": {
|
||||
"exec": "/usr/bin/python3 /home/paul/.config/waybar/scripts/wireguard.py wasteside",
|
||||
"format": " {}",
|
||||
"return-type": "json",
|
||||
"interval": 5
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user