Skip to content

Loops the cursor around the screen when it reaches an horizontal edge

License

Notifications You must be signed in to change notification settings

0xFerreira/sloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sloop

License Tag Coverage

Loops the cursor around the screen when it reaches an horizontal edge

Installation

Dependencies

Most of these should already be installed

For Ubuntu

sudo apt-get install libx11-dev xorg-dev libxtst-dev libpng++-dev   

sudo apt-get install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
sudo apt-get install libxkbcommon-dev

sudo apt-get install xsel xclip

Direct Download (unix x86-64)

curl -L https://github.com/gadd-ferreira/sloop/releases/download/v1.2.0/sloop-v1.2.0 -o /tmp/sloop
chmod +x /tmp/sloop
sudo mv /tmp/sloop /usr/local/bin/

Using go

go get github.com/gadd-ferreira/sloop
go install github.com/gadd-ferreira/sloop

Usage

Flags

Usage of sloop:
  -activationMargin int
    	Jump activation margin (default 10)
  -d    Daemonize and return control
  -hz int
    	Pointer position check frequency (default 50)
  -jumpDelta int
    	Jump delta distance from activation margin (default 1)

Manually with

sloop -d&

Automatically with X

echo 'sloop -d &' >> ~/.xinitrc

About

Loops the cursor around the screen when it reaches an horizontal edge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages