diff options
author | tdro <tdro@users.noreply.github.com> | 2020-12-04 00:39:07 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-12-04 00:39:07 -0500 |
commit | 3de9b02566580b0e23471271399ced5894c853eb (patch) | |
tree | 27ea1a8d803878e2d4160939f6af88cebd4fbf2e /.local | |
parent | 29dfecdba1a3991bfb78d3e15ea3643cf1bfb334 (diff) | |
download | dotfiles-3de9b02566580b0e23471271399ced5894c853eb.tar.gz dotfiles-3de9b02566580b0e23471271399ced5894c853eb.tar.bz2 dotfiles-3de9b02566580b0e23471271399ced5894c853eb.zip |
.local/bin: x11vnc use -R
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/scripts/events-resume | 4 | ||||
-rwxr-xr-x | .local/bin/scripts/vnc-exit | 2 | ||||
-rwxr-xr-x | .local/bin/scripts/vnc-suspend | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/scripts/events-resume b/.local/bin/scripts/events-resume index 9248c0d..d507765 100755 --- a/.local/bin/scripts/events-resume +++ b/.local/bin/scripts/events-resume @@ -1,7 +1,7 @@ #!/bin/sh -eux -# restart x11vnc -systemctl --user restart x11vnc; +# reset x11vnc +x11vnc -R stop; # reset input devices for device in $(xinput --list --id-only) diff --git a/.local/bin/scripts/vnc-exit b/.local/bin/scripts/vnc-exit index 7b8e4cb..afc4833 100755 --- a/.local/bin/scripts/vnc-exit +++ b/.local/bin/scripts/vnc-exit @@ -1,2 +1,2 @@ #!/bin/sh -eu -systemctl --user restart x11vnc; +x11vnc -R stop; diff --git a/.local/bin/scripts/vnc-suspend b/.local/bin/scripts/vnc-suspend index 7ce0970..589a7f2 100755 --- a/.local/bin/scripts/vnc-suspend +++ b/.local/bin/scripts/vnc-suspend @@ -1,2 +1,2 @@ #!/bin/sh -eu -systemctl --user restart x11vnc && systemctl suspend -i; +x11vnc -R stop && systemctl suspend -i; |