mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
added price module to waybar
This commit is contained in:
parent
9fe0dece82
commit
626596499c
2 changed files with 9 additions and 2 deletions
|
|
@ -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": "<span color='#ef8e19'> </span><span color='#ffffff'>{}</span>",
|
||||
"interval": 30,
|
||||
"exec": "~/.config/waybar/scripts/getBlock",
|
||||
"on-click": "xdg-open https://www.mempool.space",
|
||||
},
|
||||
|
||||
"custom/price": {
|
||||
"format": "<span color='#00ff00'> $</span><span color='#ffffff'>{}</span>",
|
||||
"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,
|
||||
|
|
|
|||
BIN
src/user/modules/gui/wm/hyprland/config/waybar/scripts/getPrice
Executable file
BIN
src/user/modules/gui/wm/hyprland/config/waybar/scripts/getPrice
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue