Giter Club home page Giter Club logo

freedeck-tools's Introduction

FreeDeck-Tools

Nice companion tools for the FreeDeck

Page Switcher

This tool can automatically switch the active page of the FreeDeck depending on the active window. You can pick between the python, powershell and bash version. The pythonscript is much faster, works on windows and linux (help for porting to MacOS needed), but requires you to install python.

Installation

  1. Install python3 (windows users click here or here)
  2. Check if it's installed correctly by typing python3 --version in a console. It should show something like Python 3.9.1
  3. Navigate a console to the folder containing the script and type pip install -r requirements.txt --user
  4. Configure the page_list.txt as described below
  5. Launch the auto_page_switch.py script or the systray_app.py(only works windows). Either by double clicking on it or by navigating a console to the folder that contains the script. Then type python auto_page_switch.py or python systray_app.py(only works on windows)

Config File (page_list.txt)

Just add your desired pages to the page_list.txt. To get the name the script is looking for, just run the script and click a window. It will give you the name you need to put into the page_list.txt followed by a comma and the page number. After you have changed the page_list.txt you need to restart the script again You can also pass a third parameter to declare a range of pages for an application, if you are already in this page range, the freedeck won't change the page and stay where it is right now.

...
chromium,3
fusion360,7,9
...

Caveats

  • This only works with the freedeck-ino develop branch right now.
  • You have to add a blank line to page_list.txt at the end or else the last line won't be read.
  • (Python) You need python3 in order to run this script. Download here or here.
  • (Powershell) Its not that fast, despite having no delays in the script

freedeck-tools's People

Contributors

koriwi avatar kreativ-lsh avatar thijseigenwijs avatar legomannetje avatar

Watchers

James Cloos 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.