Browse Source

hidecursor: moving cursor to upper right screen angle

master
Maxim Likhachev 5 years ago
parent
commit
f71ba349bc
  1. 1
      README.md
  2. 11
      hidecursor

1
README.md

@ -98,6 +98,7 @@ will create the symbolic link for each script in the \<path> directory.
- [calculator](calculator) computes mathematical expressions with variables and intermediate values. - [calculator](calculator) computes mathematical expressions with variables and intermediate values.
- [fix-eselect](fix-eselect) adjusts 'type' command in gentoo's eselect scripts. - [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. - [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. - [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. - [windows](windows) shows a list of the all opened windows.

11
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"
Loading…
Cancel
Save