diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..7cc29d4 Binary files /dev/null and b/.DS_Store differ diff --git a/config/config.toml b/config/config.toml new file mode 100644 index 0000000..4e26fe6 --- /dev/null +++ b/config/config.toml @@ -0,0 +1,269 @@ +[theme.dev] +refresh = -1 +log = true +debug = false + +[theme.options] +stealth_mode = false +boot_animation = true +boot_max_loops = 1 +boot_total_duration = 1 +screen_mode = "screen_saver" +screen_saver = "show_logo" +second_screen_fps = 1 +second_screen_webui = false +bg_fg_select = "manu" +bg_mode = "normal" +fg_mode = "normal" +fg_image = "" +bg_color = "black" +bg_image = "bg_480x320_static.png" +bg_anim_image = "" +font_sizes = [ 12, 10, 14, 25, 16, 10,] +font = "DejaVuSansMono" +font_bold = "DejaVuSansMono-Bold" +status_font = "DejaVuSansMono" +font_awesome = "" +size_offset = 5 +label_spacing = 9 +cursor = "❤" +friend_bars = "▌" +friend_no_bars = "│" +main_text_color = [ "black",] +color_mode = [ "P", "P",] + +[theme.menu.options] +motion_text = true +motion_text_speed = 20 +bg_select = "manu" +bg_mode = "normal" +position = [ 0, 0,] +title_position = [ "center", "5",] +title_font_size = "Medium" +title_color = "black" +width = 100 +height = "100%" +buttons_position = [ "center", "5",] +buttons_width = "90%" +button_height = 15 +button_spacing = 3 +bg_color = "white" +border_color = "black" +highlight_color = "black" +highlight_border_color = "white" +highlight_text_color = "white" +button_bg_color = "white" +button_bg_border_color = "black" +button_text_color = "black" +bg_image = "" +button_bg_image = "" +highlight_button_bg_image = "" +text_position = [ "center", "center",] +button_font_size = "Medium" +timeout = 30 + +[theme.widget.face] +position = [ 35, 125,] +text_font_size = "Huge" +color = [] +icon = true +icon_color = false +mask = false +refine = 150 +image_type = "png" +f_awesome = false +f_awesome_size = 40 +zoom = 1.8 +z_axis = 102 + +[theme.widget.line1] +position = [ 0, 0, 320, 0,] +color = [ "black",] +z_axis = 0 + +[theme.widget.line2] +position = [ 0, 0, 320, 0,] +color = [ "black",] +z_axis = 0 + +[theme.widget.status] +position = [ 100, 60,] +text_font = "DejaVuSansMono-Bold" +text_font_size = "Medium" +color = [ "black",] +wrap = true +f_awesome = false +f_awesome_size = 40 +z_axis = 101 +max_length = 30 + +[theme.widget.name] +position = [ 305, 125,] +text_font_size = "Medium" +text_font = "DejaVuSansMono-Bold" +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 105 + +[theme.widget.channel] +position = [ 340, 60,] +label = "CH" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.aps] +position = [ 375, 60,] +label = "AP" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = true +f_awesome_size = 20 +z_axis = 0 + +[theme.widget.uptime] +position = [ 340, 45,] +label = "UP" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 + +[theme.widget.shakes] +position = [ 100, 30,] +label = "PWND" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 +max_length = 30 + +[theme.widget.bluetooth] +position = [ 426, 160,] +label = "BT" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 5 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = true +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.gps] +position = [ 416, 100,] +label = "GPS" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 5 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = true +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.connection_status] +position = [ 322, 92,] +label = "WWW" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 5 +label_line_spacing = 0 +color = [ "black",] +icon = false +f_awesome = true +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.mode] +position = [ 375, 25,] +text_font = "DejaVuSansMono-Bold" +text_font_size = "Medium" +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.longitude] +position = [ 290, 232,] +label = "lon:" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.latitude] +position = [ 290, 222,] +label = "lat:" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.altitude] +position = [ 290, 242,] +label = "alt:" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.memtemp_header] +position = [ 310, 160,] +label = "alt:" +label_font_size = "BoldSmall" +text_font_size = "BoldSmall" +label_spacing = 9 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 + +[theme.widget.memtemp_data] +position = [ 310, 175,] +label = "alt:" +label_font_size = "BoldSmall" +text_font_size = "Small" +label_spacing = 9 +color = [ "black",] +icon = false +f_awesome = false +f_awesome_size = 40 +z_axis = 0 diff --git a/fonts/DejaVuSansMono-Bold.ttf b/fonts/DejaVuSansMono-Bold.ttf new file mode 100644 index 0000000..daeff6e Binary files /dev/null and b/fonts/DejaVuSansMono-Bold.ttf differ diff --git a/fonts/DejaVuSansMono.ttf b/fonts/DejaVuSansMono.ttf new file mode 100644 index 0000000..37b0269 Binary files /dev/null and b/fonts/DejaVuSansMono.ttf differ diff --git a/fonts/sw.ttf b/fonts/sw.ttf new file mode 100644 index 0000000..efd702a Binary files /dev/null and b/fonts/sw.ttf differ diff --git a/img/.DS_Store b/img/.DS_Store new file mode 100644 index 0000000..d9db770 Binary files /dev/null and b/img/.DS_Store differ diff --git a/img/bg/.DS_Store b/img/bg/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/img/bg/.DS_Store differ diff --git a/img/bg/bg_480x320_static.png b/img/bg/bg_480x320_static.png new file mode 100644 index 0000000..c9054d8 Binary files /dev/null and b/img/bg/bg_480x320_static.png differ diff --git a/img/boot/.DS_Store b/img/boot/.DS_Store new file mode 100644 index 0000000..2b59370 Binary files /dev/null and b/img/boot/.DS_Store differ diff --git a/img/boot/boot.gif b/img/boot/boot.gif new file mode 100644 index 0000000..9caee2d Binary files /dev/null and b/img/boot/boot.gif differ diff --git a/img/face/.DS_Store b/img/face/.DS_Store new file mode 100644 index 0000000..1c02da8 Binary files /dev/null and b/img/face/.DS_Store differ diff --git a/img/face/awake.png b/img/face/awake.png new file mode 100644 index 0000000..0c310d5 Binary files /dev/null and b/img/face/awake.png differ diff --git a/img/face/bored.png b/img/face/bored.png new file mode 100644 index 0000000..62bf9aa Binary files /dev/null and b/img/face/bored.png differ diff --git a/img/face/broken.png b/img/face/broken.png new file mode 100644 index 0000000..a8ce06b Binary files /dev/null and b/img/face/broken.png differ diff --git a/img/face/cool.png b/img/face/cool.png new file mode 100644 index 0000000..266a915 Binary files /dev/null and b/img/face/cool.png differ diff --git a/img/face/debug.png b/img/face/debug.png new file mode 100644 index 0000000..5997c37 Binary files /dev/null and b/img/face/debug.png differ diff --git a/img/face/demotivated.png b/img/face/demotivated.png new file mode 100644 index 0000000..0de9dd3 Binary files /dev/null and b/img/face/demotivated.png differ diff --git a/img/face/friend.png b/img/face/friend.png new file mode 100644 index 0000000..10cb855 Binary files /dev/null and b/img/face/friend.png differ diff --git a/img/face/grateful.png b/img/face/grateful.png new file mode 100644 index 0000000..3d5a99d Binary files /dev/null and b/img/face/grateful.png differ diff --git a/img/face/happy.png b/img/face/happy.png new file mode 100644 index 0000000..6e75282 Binary files /dev/null and b/img/face/happy.png differ diff --git a/img/face/intense.png b/img/face/intense.png new file mode 100644 index 0000000..c18b090 Binary files /dev/null and b/img/face/intense.png differ diff --git a/img/face/lonely.png b/img/face/lonely.png new file mode 100644 index 0000000..4f9e009 Binary files /dev/null and b/img/face/lonely.png differ diff --git a/img/face/look_l.png b/img/face/look_l.png new file mode 100644 index 0000000..5c7b91f Binary files /dev/null and b/img/face/look_l.png differ diff --git a/img/face/look_l_happy.png b/img/face/look_l_happy.png new file mode 100644 index 0000000..5c7b91f Binary files /dev/null and b/img/face/look_l_happy.png differ diff --git a/img/face/look_r.png b/img/face/look_r.png new file mode 100644 index 0000000..89fc18d Binary files /dev/null and b/img/face/look_r.png differ diff --git a/img/face/look_r_happy (1).png b/img/face/look_r_happy (1).png new file mode 100644 index 0000000..89fc18d Binary files /dev/null and b/img/face/look_r_happy (1).png differ diff --git a/img/face/motivated.png b/img/face/motivated.png new file mode 100644 index 0000000..b1dbad1 Binary files /dev/null and b/img/face/motivated.png differ diff --git a/img/face/sad.png b/img/face/sad.png new file mode 100644 index 0000000..8aa843e Binary files /dev/null and b/img/face/sad.png differ diff --git a/img/face/sleep.png b/img/face/sleep.png new file mode 100644 index 0000000..7c8c1d4 Binary files /dev/null and b/img/face/sleep.png differ diff --git a/img/face/smart.png b/img/face/smart.png new file mode 100644 index 0000000..ece6882 Binary files /dev/null and b/img/face/smart.png differ diff --git a/img/face/upload.png b/img/face/upload.png new file mode 100644 index 0000000..d6670e4 Binary files /dev/null and b/img/face/upload.png differ diff --git a/img/face/upload1.png b/img/face/upload1.png new file mode 100644 index 0000000..d6670e4 Binary files /dev/null and b/img/face/upload1.png differ diff --git a/img/face/upload2.png b/img/face/upload2.png new file mode 100644 index 0000000..d6670e4 Binary files /dev/null and b/img/face/upload2.png differ diff --git a/info.json b/info.json new file mode 100644 index 0000000..0b2d79c --- /dev/null +++ b/info.json @@ -0,0 +1,13 @@ +{ + "author": "side load", + "version": "1.0.0", + "resolutions": "480x320", + "display": "waveshare3in5lcd", + "plugins": [ + "memtemp.py", + "bt-tether.py", + "internet-connection.py", + "expv2" + ], + "notes": "" +} \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..afc371c --- /dev/null +++ b/style.css @@ -0,0 +1,83 @@ + +.ui-image { + width: 100%; +} + +.pixelated { + image-rendering: optimizeSpeed; /* Legal fallback */ + image-rendering: -moz-crisp-edges; /* Firefox */ + image-rendering: -o-crisp-edges; /* Opera */ + image-rendering: -webkit-optimize-contrast; /* Safari */ + image-rendering: optimize-contrast; /* CSS3 Proposed */ + image-rendering: crisp-edges; /* CSS4 Proposed */ + image-rendering: pixelated; /* CSS4 Proposed */ + -ms-interpolation-mode: nearest-neighbor; /* IE8+ */ +} + +.image-wrapper { + flex: 1; + position: relative; +} + +div.status { + position: absolute; + top: 0; + left: 0; + width: 100%; +} + +a.read { + color: #777 !important; +} + +p.messagebody { + padding: 1em; +} + +li.navitem { + width: 16.66% !important; + clear: none !important; +} + +/* Custom indentations are needed because the length of custom labels differs from + the length of the standard labels */ +.custom-size-flipswitch.ui-flipswitch .ui-btn.ui-flipswitch-on { + text-indent: -5.9em; +} + +.custom-size-flipswitch.ui-flipswitch .ui-flipswitch-off { + text-indent: 0.5em; +} + +/* Custom widths are needed because the length of custom labels differs from + the length of the standard labels */ +.custom-size-flipswitch.ui-flipswitch { + width: 8.875em; +} + +.custom-size-flipswitch.ui-flipswitch.ui-flipswitch-active { + padding-left: 7em; + width: 1.875em; +} + +@media (min-width: 28em) { + /*Repeated from rule .ui-flipswitch above*/ + .ui-field-contain > label + .custom-size-flipswitch.ui-flipswitch { + width: 1.875em; + } +} + +#container { + display: flex; + flex-wrap: wrap; + justify-content: space-around; +} + +.plugins-box { + margin: 0.5rem; + padding: 0.2rem; + border-style: groove; + border-radius: 0.5rem; + background-color: lightgrey; + text-align: center; +}