Commit Graph

96 Commits

Author SHA1 Message Date
tomasklaen
016d80e477 feat: provide default context menu 2022-08-24 13:12:37 +02:00
tomasklaen
761fa996e0 feat: add an ability to open submenus
With this, users can set up keybinds to send `show-submenu` message to
uosc with menu ID to open just that.
Example: `script-message-to uosc show-submenu "Foo > Bar"`

closes #75
2022-08-23 19:10:22 +02:00
Tomas Klaen
d30c1d5dac Update preview urls 2022-08-22 11:47:05 +02:00
tomasklaen
af117c1ce7 Update urls to new repo 2022-08-22 11:33:21 +02:00
Christoph Heinrich
377a5ef3c6 Allow creating empty folders
So far it was not possible to create an empty folder that was then was
later filled up with commands (or folders).
Because of that the structure of input.conf had to be based around
the menu.
By creating empty folders with the `ignore` command, that requirement
has been loosened a bit.
Trimming whitespace from `command` was necessary to check for "ignore".
2022-08-14 15:15:13 +02:00
Tomas Klaen
1de5c78aa8 Fix download links 2022-08-14 14:56:03 +02:00
Tomas Klaen
0bd53e9c74 Migrate changelog and configuration to releases 2022-08-14 14:53:19 +02:00
tomasklaen
7a0c648ae7 Add default_directory option
resolves #72
2022-04-30 21:53:21 +02:00
tomasklaen
b6a90091a2 Update readme 2022-03-22 23:04:19 +01:00
tomasklaen
7d7915dfda Update readme 2022-03-21 09:13:12 +01:00
Till
b0b5ceb85d Also allow '#menu:' as keyword instead of '#!' in input.conf
Apparently lua patterns don't have syntax which does (#!|#menu:), so it is split with the if statement
2022-03-21 09:09:57 +01:00
Till
e2b456142f add flash-top-bar command
useful for seeing the video title when switching files
2022-03-21 09:09:57 +01:00
tomasklaen
82575c90b9 Tweak menu_button 2022-01-11 10:03:41 +01:00
tomasklaen
fd7e4b6c05 Add top_bar option
Possible values:
- never
- no-border: in windowed mode when border is disabled, or fullscreen
- always

Closes #15
2021-09-13 09:24:57 +02:00
darsain
fbaf0c2d56 Add shift modifier for opening menu items without closing the menu
resolves #46
2020-12-16 10:08:51 +01:00
darsain
8af663f4ff Add curtain_opacity option
ref #45
2020-12-12 10:04:34 +01:00
Tomas Sardyha
755194352f Add persistency options
This enables elements to always be visible in configured states.
For example, setting `timeline_persistency=paused,audio` will make timeline always visible when playback is paused, or when audio file is open.

Available states: paused, audio

Available options and their defaults:
```
timeline_persistency=
volume_persistency=
speed_persistency=
top_bar_persistency=
```

resolves #42
2020-12-03 10:50:19 +01:00
Tomas Sardyha
0539187748 Implement pause-indicator commands instead of short resume filtering
Usage:

Set option `pause_indicator=manual`.

For flashing the indicator, add to bindings:

```
space  cycle pause; script-binding uosc/flash-pause-indicator
```

Or this for the static one:

```
space  cycle pause; script-binding uosc/decide-pause-indicator
```

ref #44, fixes #40
2020-12-03 10:50:19 +01:00
Tomas Sardyha
7d9c2b8454 Update documentation 2020-11-07 10:13:03 +01:00
Tomas Sardyha
cf6ea76a18 Readme 2020-11-07 09:35:40 +01:00
Tomas Sardyha
c9b22efc2d Add stream quality menu
ref #9
2020-11-05 17:06:03 +01:00
Tomas Sardyha
9bfd181675 Render window border in no-border mode
ref #41
2020-11-05 13:39:06 +01:00
Tomas Sardyha
47b0dd9358 Increase default flash_duration value to 1000 2020-10-19 16:42:25 +02:00
Tomas Sardyha
0d9e695425 Add total_time option
closes #33
2020-07-14 11:39:15 +02:00
Tomas Sardyha
ba3ec240cc Switch to minimal sponsor block ranges support. 2020-06-20 09:17:16 +02:00
Eva
5401545759 Support for sponsorblock categories (#31) 2020-06-20 09:06:37 +02:00
Tomas Sardyha
f3a703ad9b Update readme 2020-05-17 20:33:45 +02:00
Tomas Sardyha
16342f80f7 Clarify flash_duration option description 2020-05-17 15:26:21 +02:00
Tomas Sardyha
f9c4d96bb1 Re-implement element flashing with explicit commands instead of magical options
ref #22
2020-05-17 15:21:01 +02:00
Tomas Sardyha
2d73625c7a Unify window controls and title into a more configurable top_bar entity
closes #17
2020-05-11 12:40:46 +02:00
Tomas Sardyha
b5920c52db Separate window title and controls
closes #15
2020-05-11 12:00:24 +02:00
Tomas Sardyha
d627699208 Make wasd and hjkl menu navigation optional
closes #14
2020-05-11 11:28:27 +02:00
Tomas Sardyha
ac27994c83 Tweak speed widget 2020-05-06 13:36:51 +02:00
Tomas Sardyha
dbf5150509 Correct default option discrepancies 2020-05-06 12:53:50 +02:00
Tomas Sardyha
aed1835141 2.8.0 2020-05-01 11:17:17 +02:00
Tomas Sardyha
0fd5e11855 Add {element}_font_scale and font_bold options 2020-05-01 11:05:17 +02:00
Tomas Sardyha
c40d110a1c Add an option to disable window controls 2020-05-01 10:15:27 +02:00
Tomas Sardyha
5c065c47bd Add next, prev, first, last commands 2020-04-29 18:45:12 +02:00
Tomas Sardyha
676dcd672b Simplify command names 2020-04-29 18:20:12 +02:00
Tomas Sardyha
f3930ce864 Improve directory navigation, and rename the command to open-file 2020-04-29 17:53:10 +02:00
Tomas Sardyha
fad64ebdc6 Update readme 2020-04-28 10:24:29 +02:00
Tomas Sardyha
6949c6356a Add open-config-directory command 2020-04-28 10:21:09 +02:00
Tomas Sardyha
4364de0761 Update readme 2020-04-24 10:46:35 +02:00
Tomas Sardyha
e9451be252 Add timeline_start_hidden option 2020-04-24 10:19:37 +02:00
Tomas Sardyha
3b4f895376 Tweak readme 2020-04-23 10:07:21 +02:00
Tomas Sardyha
c8c5409ed5 Add flashing pause indicator 2020-04-21 16:48:54 +02:00
Tomas Sardyha
c5f320b1bc Add timeline seeking on scroll wheel, and normalize _rounding options into _step 2020-04-20 21:25:26 +02:00
Tomas Sardyha
257f9e4d8b Add pause indicator
closes #8
2020-04-20 20:49:32 +02:00
Tomas Sardyha
87173dd01a Refactor flashing, add speed_flash, tweak options 2020-04-19 21:08:25 +02:00
Tomas Sardyha
cf55e74a25 Add playback speed control widget 2020-04-19 16:17:46 +02:00