diff --git a/src/user/modules/gui/wm/hyprland/config/waybar/config b/src/user/modules/gui/wm/hyprland/config/waybar/config index eb59028..2ceb1a4 100644 --- a/src/user/modules/gui/wm/hyprland/config/waybar/config +++ b/src/user/modules/gui/wm/hyprland/config/waybar/config @@ -2,7 +2,7 @@ "layer": "top", "position": "top", "output": "HDMI-A-1", - "modules-left": [ "custom/logo", "clock", "custom/weather", "custom/bitcoin", "memory", "cpu" ], + "modules-left": [ "custom/logo", "clock", "custom/weather", "custom/blockheight", "custom/price", "memory", "cpu" ], "modules-center": [ "hyprland/workspaces" ], "modules-right": [ "tray", "pulseaudio", "network" ], "reload_style_on_change":true, @@ -37,13 +37,20 @@ "interval": 10, }, - "custom/bitcoin": { + "custom/blockheight": { "format": "󰠓 {}", "interval": 30, "exec": "~/.config/waybar/scripts/getBlock", "on-click": "xdg-open https://www.mempool.space", }, + "custom/price": { + "format": " ${}", + "interval": 10, + "exec": "~/.config/waybar/scripts/getPrice", + "on-click": "xdg-open https://www.coinbase.com/price/bitcoin", + }, + "clock": { "format": "{:%I:%M:%S %p}", "interval":1, diff --git a/src/user/modules/gui/wm/hyprland/config/waybar/scripts/getPrice b/src/user/modules/gui/wm/hyprland/config/waybar/scripts/getPrice new file mode 100755 index 0000000..18c24eb Binary files /dev/null and b/src/user/modules/gui/wm/hyprland/config/waybar/scripts/getPrice differ