diff --git a/README.md b/README.md index 3559e4c..b685240 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ will create the symbolic link for each script in the \ directory. - [calculator](calculator) computes mathematical expressions with variables and intermediate values. - [fix-eselect](fix-eselect) adjusts 'type' command in gentoo's eselect scripts. +- [hidecursor](hidecursor) moves cursor to upper right screen angle. - [musca_status](musca_status) shows a list of all musca's workspaces. - [poweroff-dialog](poweroff-dialog) and [asroot](asroot) provide a menu with 'shutdown', 'reboot' and 'suspend' commands. - [windows](windows) shows a list of the all opened windows. diff --git a/hidecursor b/hidecursor new file mode 100755 index 0000000..82ae486 --- /dev/null +++ b/hidecursor @@ -0,0 +1,11 @@ +#!/bin/bash + +#Создан: Чт 27 фев 2020 00:49:54 +#Изменён: Чт 27 фев 2020 00:52:22 + +# Скрипт помещает курсор в правый верхний угол экрана + +CURSOR_POSITION=$(xdpyinfo | awk '/dimensions:/ { gsub("x.*", " 0", $2); print $2 }') + +eval xdotool mousemove "$CURSOR_POSITION" +