galister / wlx-overlay-s

Access your Wayland/X11 desktop from Monado/WiVRn/SteamVR. Now with Vulkan!
GNU General Public License v3.0
100 stars 18 forks source link

[feature request] clock telling you how long you are in vr #41

Closed OzzyHelix closed 2 months ago

OzzyHelix commented 2 months ago

xsoverlay has a clock showing the amount of time you have been in steamvr it would be cool if that was a feature on this thanks ozzy

stuin commented 2 months ago

I added one a while ago that tells you how long wlx-overlay has been running, you can simply replace alt clock 1 in the watch.yaml config file with this.

# uptime
  - type: Label
    rect: [210, 90, 200, 50]
    font_size: 24
    fg_color: "#99BBAA"
    source: Timer
    format: "%H:%M" # 23:59
  - type: Label
    rect: [210, 60, 200, 50]
    font_size: 14
    fg_color: "#99BBAA"
    source: Static
    text: "Uptime"
OzzyHelix commented 2 months ago

where would I find the watch.yaml file?

galister commented 2 months ago

hi, see the wiki here.

OzzyHelix commented 2 months ago

I didn't know you could customize it like this I just assumed it was something I would have to ask for as a feature

OzzyHelix commented 2 months ago

this is what worked for me I just moved the Japan time to Alt clock 2 thanks guys sorry I assumed this wasn't a feature yet also having the seconds is the change I made thanks tho closing

# uptime
  - type: Label
    rect: [210, 90, 200, 50]
    font_size: 14
    fg_color: "#99BBAA"
    source: Timer
    format: "%H:%M:%S" # 23:59:05
  - type: Label
    rect: [210, 60, 200, 50]
    font_size: 14
    fg_color: "#99BBAA"
    source: Static
    text: "Uptime"