tileos-settings-sway/usr/share/sway/scripts
Alexander Oakman 8dc7da2815 Fix the idle-inhibitor script
It turns out that the idle-inhibitor provided by sway only works
with views (application windows), i.e. inhibition cannot be run
on empty workspaces because they do not contain views.
Also, when switching between different workspaces, the views of
the previous workspace may have idle inhibitors, causing inhibition
to be active even if no sound is played until the old views are
updated. To update the old views, it is necessary to switch to the
appropriate workspace and wait for the script to execute, which
will remove the inhibitors that is incorrect and inconvenient.
This patch introduces a new inhibit method based on
systemd-inhibit, which has none of the above problems.
2024-08-25 05:34:38 +03:00
..
autoname-workspaces.py Fix alacritty panel icon 2023-06-30 22:41:48 +04:00
brightness-notify.sh Wire up more scripts 2023-05-05 17:13:31 +04:00
dunst.sh Add custom dunst module 2023-05-18 00:47:11 +04:00
first-empty-workspace.py Wire up more scripts 2023-05-05 17:13:31 +04:00
flock.sh Add flock wrapper for running only one process 2023-07-11 19:18:35 +04:00
help.sh waybar: add Help module, run help overlay on demand 2024-01-28 17:19:15 +04:00
idle-inhibitor.sh Fix the idle-inhibitor script 2024-08-25 05:34:38 +03:00
lock.sh Improve the lock screen command 2024-08-23 21:59:49 +03:00
mic-mute.sh Add support for turning the microphone on/off 2024-08-24 19:39:06 +03:00
recorder.sh Make the recorder script more readable 2024-08-24 20:23:03 +03:00
sbdp.py Fix appending user keybindings to help overlay 2024-02-25 19:23:25 +04:00
screenshot-notify.sh Wire up more scripts 2023-05-05 17:13:31 +04:00
sunset.sh Wire up more scripts 2023-05-05 17:13:31 +04:00
swaycwd.sh Initial Sway config 2023-04-29 15:02:58 +04:00
swaylock.sh Improve the lock screen command 2024-08-23 21:59:49 +03:00
switch-top-level.py feature: Allow switching between containers 2023-08-21 10:23:35 +04:00
volume-notify.sh Wire up more scripts 2023-05-05 17:13:31 +04:00