No description
Find a file
2026-01-04 20:36:21 +01:00
hoton.css added configuration options 2026-01-04 19:41:38 +01:00
hoton.py fixed transparency and button not calling action 2026-01-04 20:10:19 +01:00
hoton.toml added configuration options 2026-01-04 19:41:38 +01:00
icon.svg added tray icon to minimize the window 2025-07-23 23:25:53 +02:00
main.py added if __name__==__main__ 2025-07-23 23:29:15 +02:00
README.md improved xdotool visual in README 2026-01-04 20:36:21 +01:00
screenshot.png Added readme 2026-01-04 20:35:28 +01:00

Hoton

Hoton is a simple HOvering butTON. It is by default hidden in systray and when shown it has a single window showing one icon which can be moved by mouse and when clicked sends given key-combination into focused window.

Screenshot

An example usage is a floating undo button for touchscreens.

Configuration

Copy the default configuration files hoton.toml and hoton.css into ~/.config/

cp hoton.toml hoton.css ~/.config/

And edit it to your needs. The file hoton.toml has the folowing options

Option Description
command the key combination run on click. It is directly passed into xdotool key --clearmodifiers COMMAND
width width of the window
height height of the window
icon shown icon, usualy available icons are located in /usr/share/icons/
icon-size size of the icon