c/sampler renamed to Ghetto-SoundSystem ;-)
[mirrors/Programs.git] / bash / x-mouse / xwarppointer / swap.pl
CommitLineData
21c4e167
H
1#!/usr/bin/perl
2
3$half = 1600;
4
5$line = `xwarppointer get`;
6chomp $line;
7@c = split(/ /, $line);
8
9if ($c[0] > $half) {
10 $c[0] -= $half;
11} else {
12 $c[0] += $half;
13}
14
15`xwarppointer abspos $c[0] .`;
This page took 0.606667 seconds and 4 git commands to generate.