Finish initial options template
This commit is contained in:
196
options.ts
196
options.ts
@@ -217,7 +217,13 @@ const options = mkOptions(OPTIONS, {
|
|||||||
active: opt(colors.maroon),
|
active: opt(colors.maroon),
|
||||||
hover: opt(colors.maroon)
|
hover: opt(colors.maroon)
|
||||||
},
|
},
|
||||||
slider: {
|
audio_slider: {
|
||||||
|
primary: opt(colors.maroon),
|
||||||
|
background: opt(colors.surface2),
|
||||||
|
backgroundhover: opt(colors.surface1),
|
||||||
|
puck: opt(colors.overlay0)
|
||||||
|
},
|
||||||
|
input_slider: {
|
||||||
primary: opt(colors.maroon),
|
primary: opt(colors.maroon),
|
||||||
background: opt(colors.surface2),
|
background: opt(colors.surface2),
|
||||||
backgroundhover: opt(colors.surface1),
|
backgroundhover: opt(colors.surface1),
|
||||||
@@ -399,6 +405,7 @@ const options = mkOptions(OPTIONS, {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
controls: {
|
controls: {
|
||||||
|
disabled: (colors.surface2),
|
||||||
wifi: {
|
wifi: {
|
||||||
background: opt(colors.mauve),
|
background: opt(colors.mauve),
|
||||||
text: opt(colors.crust),
|
text: opt(colors.crust),
|
||||||
@@ -556,13 +563,179 @@ const options = mkOptions(OPTIONS, {
|
|||||||
calendar: opt(true),
|
calendar: opt(true),
|
||||||
},
|
},
|
||||||
format: opt("%H:%M - %A %e."),
|
format: opt("%H:%M - %A %e."),
|
||||||
action: opt(() => App.toggleWindow("datemenu")),
|
|
||||||
},
|
},
|
||||||
notifications: {
|
notifications: {
|
||||||
show_total: opt(false)
|
show_total: opt(false)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
menus: {
|
||||||
|
border: {
|
||||||
|
enabled: opt(true),
|
||||||
|
size: opt(""),
|
||||||
|
outer_gap: opt(""),
|
||||||
|
inner_gap: opt(""),
|
||||||
|
radius: opt(""),
|
||||||
|
card_radius: opt(""),
|
||||||
|
},
|
||||||
|
dashboard: {
|
||||||
|
modules: opt([
|
||||||
|
"powermenu",
|
||||||
|
"shortcuts",
|
||||||
|
"controls",
|
||||||
|
"directories",
|
||||||
|
"monitor",
|
||||||
|
]),
|
||||||
|
order: {
|
||||||
|
primary: opt([
|
||||||
|
"powermenu",
|
||||||
|
"shortcuts",
|
||||||
|
"controls",
|
||||||
|
"directories",
|
||||||
|
"monitor",
|
||||||
|
]),
|
||||||
|
powermenu: opt([
|
||||||
|
"avatar",
|
||||||
|
"powermenu",
|
||||||
|
]),
|
||||||
|
monitor: opt([
|
||||||
|
"cpu",
|
||||||
|
"ram",
|
||||||
|
"gpu",
|
||||||
|
"disk",
|
||||||
|
])
|
||||||
|
},
|
||||||
|
powermenu: {
|
||||||
|
sleep: opt("systemctl suspend"),
|
||||||
|
reboot: opt("systemctl reboot"),
|
||||||
|
logout: opt("pkill Hyprland"),
|
||||||
|
shutdown: opt("shutdown now"),
|
||||||
|
avatar: {
|
||||||
|
image: opt<string>,
|
||||||
|
name: opt<"system" | string>("system"),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
shortcuts: {
|
||||||
|
left: {
|
||||||
|
shortcut1: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
shortcut2: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
shortcut3: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
shortcut4: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
},
|
||||||
|
right: {
|
||||||
|
shortcut1: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
shortcut2: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
shortcut3: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
shortcut4: {
|
||||||
|
icon: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
directories: {
|
||||||
|
left: {
|
||||||
|
directory1: {
|
||||||
|
label: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
directory2: {
|
||||||
|
label: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
directory3: {
|
||||||
|
label: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
},
|
||||||
|
right: {
|
||||||
|
directory1: {
|
||||||
|
label: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
directory2: {
|
||||||
|
label: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
directory3: {
|
||||||
|
label: opt(""),
|
||||||
|
command: opt("")
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
volume: {
|
||||||
|
order: opt([
|
||||||
|
"volume",
|
||||||
|
"devices",
|
||||||
|
])
|
||||||
|
},
|
||||||
|
network: {
|
||||||
|
order: opt([
|
||||||
|
"ethernet",
|
||||||
|
"wifi",
|
||||||
|
]),
|
||||||
|
status: opt(true),
|
||||||
|
},
|
||||||
|
bluetooth: {
|
||||||
|
status: opt(true),
|
||||||
|
},
|
||||||
|
battery: {
|
||||||
|
modules: opt([
|
||||||
|
"brightness",
|
||||||
|
"powerprofile"
|
||||||
|
]),
|
||||||
|
order: opt([
|
||||||
|
"brightness",
|
||||||
|
"powerprofile"
|
||||||
|
])
|
||||||
|
},
|
||||||
|
clock: {
|
||||||
|
modules: opt([
|
||||||
|
"clock",
|
||||||
|
"calendar",
|
||||||
|
"weather"
|
||||||
|
]),
|
||||||
|
order: opt([
|
||||||
|
"clock",
|
||||||
|
"calendar",
|
||||||
|
"weather"
|
||||||
|
]),
|
||||||
|
time: {
|
||||||
|
military: opt(false),
|
||||||
|
seconds: opt(true)
|
||||||
|
},
|
||||||
|
weather: {
|
||||||
|
hourly: opt(true),
|
||||||
|
interval: opt(60_000),
|
||||||
|
unit: opt<"metric" | "imperial" | "standard">("metric"),
|
||||||
|
key: opt<string>(
|
||||||
|
JSON.parse(Utils.readFile(`${App.configDir}/.weather`) || "{}")?.key || "",
|
||||||
|
),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
overview: {
|
overview: {
|
||||||
scale: opt(9),
|
scale: opt(9),
|
||||||
workspaces: opt(7),
|
workspaces: opt(7),
|
||||||
@@ -578,25 +751,6 @@ const options = mkOptions(OPTIONS, {
|
|||||||
labels: opt(true),
|
labels: opt(true),
|
||||||
},
|
},
|
||||||
|
|
||||||
quicksettings: {
|
|
||||||
avatar: {
|
|
||||||
image: opt(`/var/lib/AccountsService/icons/${Utils.USER}`),
|
|
||||||
size: opt(70),
|
|
||||||
name: opt("Linux User")
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
calendarmenu: {
|
|
||||||
position: opt<"left" | "center" | "right">("center"),
|
|
||||||
weather: {
|
|
||||||
interval: opt(60_000),
|
|
||||||
unit: opt<"metric" | "imperial" | "standard">("metric"),
|
|
||||||
key: opt<string>(
|
|
||||||
JSON.parse(Utils.readFile(`${App.configDir}/.weather`) || "{}")?.key || "",
|
|
||||||
),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
osd: {
|
osd: {
|
||||||
progress: {
|
progress: {
|
||||||
vertical: opt(true),
|
vertical: opt(true),
|
||||||
|
|||||||
Reference in New Issue
Block a user