All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const apiUrl = "http://api.quotable.io/random?tags="; | |
async function start() { | |
var quote; | |
var cite; | |
const response = await fetch(apiUrl); | |
const data = await response.json(); | |
if (response.ok) { | |
// Update DOM elements |
I use a great widget focus-plasmoid (KDE store) for Pomodoro-driven work on KDE. There are no prominent alternatives so far.
The work happens on a different virtual desktop (or activity).
- When focus starts, the virtual desktop with working applications gets switched on.
- When focus ends, a message box asks for a short description of what is done in the past period (when it is still in the context), then a daily report is shown as a popup and the virtual desktop gets changed.
- A few seconds of the sleep time is to avoid confusion and prepare to get switched after a dong sound.
- The report gets also saved in a folder along the script for every day and can be reviewed later.