This repository has been archived by the owner on Jul 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbing.rpy
81 lines (66 loc) · 2.27 KB
/
bing.rpy
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
## bing.rpy
# A GNOME 3-like desktop environment
# Author(s): Marquis Kurt (@alicerunsonfedora)
# Copyright: (C) 2018
init python:
class BingDesktop(Applet):
## App Manifest
# Define important information about your app here.
# This information will be used in places like the
# Control Center, notification badges, apps menus,
# and the desktop shell.
# Provide a short name and a long name for your app.
short_name = "Desktop"
long_name = "Bendy is not GNOME Desktop"
# Provide the author information, version number, and
# description of your app, as where as the name of the
# folder that your applet lives in.
app_dir = "BinG"
author = "Project Alice"
version = "1.0.0beta3"
description = """\
Bendy is not GNOME is a GNOME 3-like desktop environment for AliceOS. It provides basic functionality of launching applets and file management.
"""
# Define your icons here. They should be located in
# your Applet's Resources/icons/ folder
icons = {
16: "16.png",
24: "24.png",
32: "32.png",
64: "64.png",
128: "128.png",
256: "256.png"
}
# Define what permissions your applet will need.
# See the Applet Manifest wiki page for all possible
# permissions
permissions = {
pm_notify,
pm_files,
pm_sysadmin,
pm_shell
}
launch = {
"action": "[Hide('ActivitiesView'), Show('bing_desktop')]",
"show_in_launcher": True
}
def __init__(self):
pass
bendy = BingDesktop()
## Screen override
init 5:
screen say(who, what):
use bing_top_bar
style_prefix "say"
window:
id "window"
text what id "what"
if who is not None:
window:
style "namebox"
text who id "who"
# If there's a side image, display it above the text. Do not display
# on the phone variant - there's no room.
if not renpy.variant("small"):
add SideImage() xalign 0.0 yalign 1.0
use quick_menu