You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple script that displays an indicator on pause, with options to adjust icon, color, height, width, opacity and whether to toggle pause with a keybind or not.
5
+
A simple script that displays an indicator on pause, with options to adjust icon type, color, height, width, opacity and whether to toggle pause with a keybind or not.
6
6
7
7
I only decided to write this because the ones I found were either too complicated or too simple. The alternatives are great, this one just meets my simple use case scenario.
|`indicator_icon`| "pause" | Which icon to show as indicator `pause`, `play`|
17
-
|`indicator_stay`| true | Should the pause indicator stay visible during pause? |
18
-
|`indicator_stay_timeout`| 0.6 | If it doesn't stay, how long should it last? (seconds) |
19
-
|`keybind_allow`| true | Allow keybind to toggle pause |
20
-
|`keybind_set`| "mbtn_left" | The set keybind to toggle pause [[reference](https://github.com/mpv-player/mpv/blob/master/etc/input.conf)]|
21
-
|`keybind_mode`| "onpause" | Mode to activate keybind. <br />`onpause`: only active when video is paused, to unpause <br />`always`: always active to toggle pause/unpause |
22
-
|`icon_color`| "#FFFFFF" | Icon fill color |
23
-
|`icon_border_color`| "#111111" | Icon border color |
24
-
|`icon_opacity`| 40 | Icon opacity (0-100) |
25
-
|`rectangles_width`| 30 | Width of rectangles (pause icon) |
26
-
|`rectangles_height`| 80 | Height of rectangles (pause icon) |
27
-
|`rectangles_spacing`| 20 | Spacing between the two rectangles (pause icon) |
28
-
|`triangle_width`| 80 | Width of triangle (play icon) |
29
-
|`triangle_height`| 80 | Height of triangle (play icon) |
30
-
|`flash_play_icon`| true | Flash play icon on unpause? (best with pause indicator icon) |
31
-
|`flash_icon_timeout`| 0.3 | How long should the flash last? (seconds) |
32
-
|`flash_icon_bigger_by`| 0 | Increase flash icon size from default by (0-100) |
12
+
Below is the full list for indicator options and their default values. To adjust them, simply change their values in `local options` within the script.
|`indicator_stay`| true | keep indicator visibile during pause |
18
+
|`indicator_timeout`| 0.6 | timeout (seconds) if indicator doesn't stay |
19
+
|`keybind_allow`| true | allow keybind to toggle pause |
20
+
|`keybind_set`| "mbtn_left" | the used keybind to toggle pause [[reference](https://github.com/mpv-player/mpv/blob/master/etc/input.conf)]|
21
+
|`keybind_mode`| "onpause" | mode to activate keybind. <br>`onpause`: only active when paused, to unpause <br>`always`: always active to toggle pause/unpause |
22
+
|`icon_color`| "#FFFFFF" | icon fill color |
23
+
|`icon_border_color`| "#111111" | icon border color |
24
+
|`icon_opacity`| 40 | icon opacity (0-100) |
25
+
|`rectangles_width`| 30 | width of rectangles (pause icon) |
26
+
|`rectangles_height`| 80 | height of rectangles (pause icon) |
27
+
|`rectangles_spacing`| 20 | spacing between the two rectangles (pause icon) |
28
+
|`triangle_width`| 80 | width of triangle (play icon) |
29
+
|`triangle_height`| 80 | height of triangle (play icon) |
30
+
|`flash_play_icon`| true | flash play icon on unpause (best with pause indicator icon) |
31
+
|`flash_icon_timeout`| 0.3 | timeout (seconds) for flash icon |
0 commit comments