fandreuz / TUI-ConsoleLauncher

Linux CLI Launcher for Android
Other
1.24k stars 257 forks source link

[tuie] custom command #307

Closed v1nc closed 4 years ago

v1nc commented 4 years ago

Starting to merge T-UI Expert features. My first commit enables the custom command and its configs.

fandreuz commented 4 years ago

I was thinking that maybe it's better to remake the format of the device info area (network, ram, cpu, ..) from scratch. I was thinking about something like this: new format (I'm sorry for the ugly color).

There will be one single big string for the format, containing everything (ram, storage, ...) This is much more flexible in my opinion. Note that I removed some things:

  1. unlock counter: I always felt like this feature has never been appreciated, and often misunderstood. We'll add it later if someone wants it back
  2. notes: they are coming back, I'm thinking how
  3. weather: check below

It will be possible to use:

  1. optional values: [expression?trueValue:falseValue]
  2. formatting (I'm thinking about HTML, which has native support in Android, and is very flexible)
  3. executing commands (like "weather", or any bash command)

What do you think?

fandreuz commented 4 years ago

You're now able to see my last changes in the branch dev

v1nc commented 4 years ago

I like the idea. Markup with HTML is easy and powerful. It should be possible to define custom symbols for bash commands.

I think this makes this PR unnecessary. I will look though the dev branch to evaluate, which tuie commits are worth merging atm.

fandreuz commented 4 years ago

OK :) Can I close this PR?