updated scripts and waybar

This commit is contained in:
2025-08-18 19:31:04 +02:00
parent 6e647070d8
commit 01f7b4fb8e
20 changed files with 305 additions and 268 deletions

View File

@@ -3,23 +3,24 @@
"layer": "top",
"position": "top",
"height": 50,
"modules-left": ["hyprland/workspaces"],
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [],
"modules-right": [
"custom/bluetooth-audio",
"custom/pixelbuds_pro",
// "custom/bluetooth-audio",
// "custom/pixelbuds_pro",
"custom/mem",
"custom/cpu",
"custom/gpu",
"network",
"cpu",
"memory",
"custom/gpu-usage",
"custom/audio-output",
"wireplumber",
"tray",
"custom/gpu-screen-recorder",
"custom/gamemode",
"tray",
"wireplumber",
"clock"
],
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate"
@@ -34,18 +35,14 @@
"on-click-right": "xdg-open https://calendar.proton.me/u/0/month &> /dev/null & disown",
"tooltip": false,
},
"custom/gpu": {
"format": "GPU: {}%",
"exec": "~/.config/waybar/scripts/gpu_usage.sh",
"interval": 1,
"tooltip": true
},
"cpu": {
"format": "CPU: {usage}%",
"tooltip": true
"tooltip": true,
"interval": 1
},
"memory": {
"format": "MEM: {used}/{total}GB"
"format": "MEM: {used}/{total}GB",
"interval": 3
},
"network": {
"format-wifi": "{essid} ({signalStrength}%): {ipaddr}",
@@ -55,14 +52,14 @@
},
"wireplumber": {
"format": "{volume}% {icon}",
"format-muted": "{node_name} ",
"format-muted": "--- ",
"format-icons": {
"headphone": "",
"hands-free": "",
"default": ["", "", ""]
},
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-click-right": "~/.config/waybar/scripts/cycle_audio_output.sh",
"on-click-right": "~/.config/waybar/scripts/audio.sh cycle",
"on-click-middle": "pavucontrol",
"scroll-step": 1
},
@@ -127,29 +124,42 @@
"custom/audio-output": {
"format": "{}",
"return-type": "json",
"exec": "/home/narl/.config/waybar/scripts/get_audio_output.sh",
"on-click": "/home/narl/.config/waybar/scripts/cycle_audio_output.sh",
"interval": 1
"exec": "/home/narl/.config/waybar/scripts/audio.sh show",
"on-click": "/home/narl/.config/waybar/scripts/audio.sh cycle",
"interval": 5
},
"custom/gamemode": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/gamemode_status.sh",
"on-click": "~/.config/hypr/scripts/gamemode.sh",
"interval": 1
"interval": 5
},
"custom/gpu-screen-recorder": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/gpu-screen-recorder-status.sh",
"on-click-right": "~/.config/hypr/scripts/replay-ctrl.sh save",
"on-click-middle": "nautilus ~/Videos/replay",
"on-click": "~/.config/waybar/scripts/toggle-replay.sh",
"interval": 1
"interval": 5
},
"custom/gpu-usage": {
"custom/gpu": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/gpu_usage.sh",
"interval": 5
"exec": "~/.config/waybar/scripts/gpu_info.sh",
"interval": 3
},
"custom/cpu": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/cpu_info.sh",
"interval": 3
},
"custom/mem": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/memory.sh",
"interval": 3
}
}