Giter VIP home page Giter VIP logo

fittstool's Introduction

This is a clone of the project fittstool from google code. I made it because the project has been archived and I found no other source of it.

#DEPENDENCIES xcb, glib

#INSTALL

type "make" as root type "make install"

execute "fittstool"

#Usage

fittstool uses a config file which is usually located at ~/.config/fittstool/fittstoolrc

Upon first launch it will create a sample file which demonstrates how to bind the upper right screen corner for volume control with the mouse wheel.

That's why I advise you to start it in a terminal and check if it gives you the message that it has created the file for you, then stop it with Ctrl-C.

Configuration is done via a keyfile. You have groups in the format of:

[GroupName]

which correspond to screen corners, and event bindings in the form of:

LeftButton=somecommand

which correspond to events on that screen corner and point to the command/script to be executed upon the event being fired.

Here's how the example config file looks:

#fittstoolrc example #volume control in the top right corner:

[TopRight]
WheelUp=amixer -q sset Master 2+
WheelDown=amixer -q sset Master 2-
RightButton=amixer -q sset Master toggle
LeftButton=xterm -C alsamixer

#Available positions: Left, TopLeft, etc, TopCenter, BottomCenter, Right, TopRight, BottomRight, etc... #Available events: LeftButton, RightButton, MiddleButton, WheelUp, WheelDown, WheelUpOnce, WheelDownOnce, Enter, Leave

I think it's simple enough for you to get it. For example you want to bind the lower right corner to launch the htop process manager for you. All you have to do is add this at the bottom of your fittstoolrc:

[BottomRight]
LeftButton=xterm -C htop

You can add fittstool to your session, if you're using a session manager, or to your .xinitrc, or whichever way you autostart your applications with the start of the X server.

fittstool's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.