blob: bd43d4eeeeb46bb3e7d1a1205374c031058ea044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
import wasp
# Ensure there's something interesting to look at ;-)
wasp.system.set_music_info({
'track': 'Tasteless Brass Duck',
'artist': 'Dreams of Bamboo',
})
# Instantiate the analogue clock application and replace the default
# (digital) clock with this alternative.
#from chrono import ChronoApp
#clock = wasp.system.quick_ring[0]
#wasp.system.quick_ring[0] = ChronoApp()
#wasp.system.switch(wasp.system.quick_ring[0])
#wasp.system.register(clock)
# Adopt a basic all-orange theme
#wasp.system.set_theme(
# b'\xff\x00' # ble
# b'\xff\x00' # scroll-indicator
# b'\xff\x00' # battery
# b'\xff\x00' # status-clock
# b'\xff\x00' # notify-icon
# b'\xff\x00' # bright
# b'\xbe\xe0' # mid
# b'\xff\x00' # ui
# b'\xff\x00' # spot1
# b'\xff\x00' # spot2
# b'\x00\x0f' # contrast
# )
wasp.system.run()
|