# 1st app name, 2nd app name*, key, modifier*Īdobe Photoshop 2021, Preview, p, commandīlank lines and lines beginning with the '#' sign are are comments and are ignored. # lines beginning with the '#' character get ignored Here is a sample configuration file for use with the ActivateApps template: # Filename: ActivateApps.cfg ![]() For example, if you want your configuration file to use the Karabiner::Template::ActivateApps template, name your file something like ActivateApps.cfg or ActivateApps.txt. However, the first part of your file name (aka the base name), must exactly match the name of an installed template module. Naming Your Configuration FileĪ configuration file can have any file extention. You can use any text editor to create the configuration files. An associated template module, as determined by the name of the configuration file, contains the logic for processing the configuration file. Each line in the file outputs a new rule that ends up in json file that's output by the kcmg command. Now, with the new json file in place, open Karabiner-Elements and do the following:Ĭlick "Enable" for all the rules or individual rules you wish to use Configuration FileĪ configuration file is a text file that contains the comma separated values that get inserted into a template file. By default, this directory is at ~/.config/Karabiner/assets/complex_modifications. Place this file into your Karbiner-Elements configuration directory. It has the same base file name as your configuration file but with a. The json file created in step 2 above gets saved to the same directory you ran the command from. Open Karabiner-Elements and load the new rules Ĭopy the json file into Karabiner-Elements configuration directory on your drive.Running the kcmg command, followed by the path to your configuration file, to create the json file containing the complex modification rules The four steps to generating and using the complex modification files are:Ĭreating a configuration file see (#Configuration File) for details Whatever method you choose to install Raku, just be sure the zef command gets installed and is working on your machine as well. To ensure you get the absolute latest version of Raku, see this page for other installation options. Note, however, that the homebrew install may be months out of date. If you don't have brew installed, install it with: If you don't have Raku with zef installed yet, it's easiest to install them both with homebrew if you already have brew installed: Once you get the module installed follow the USAGE instructions to learn how to generate new rules for use with Karabiner-Elements. INSTALLATIONĪssuming Raku and zef is already installed, install the module with: Feel welcome to contribute your own template modules to extend Karabiner::CompModGenerator's capabilities.įollow the USAGE instructions below for more details. ![]() More templates will be added in the future. SafariTabs – activate Safari and a specific tab by pressing a modifier key and a double tap (best used in conjunction with Safari's "pinned" tab feature) The files containing the complex modifications are generated from templates, so the rules you can create are limited by the templates provided by the module, which currently include:ĪctivateApps – opens/activiates applications by pressing a modifier key while double or triple tapping another key The goal of the module is to make it easier to create and regenerate complex modification files and avoid the headache of editing json files directly. This module generates json files containing "complex modification" rules for use with the the Karabiner-Elements app on macOS. Karabiner::CompModGenerator - Generate complex modifcations for the Karabiner-Elements app on macOS SYNOPSISįrom the command line: kcmg ActivateApps.cfg Raku Land - Karabiner::CompModGenerator Rand Stats Karabiner::CompModGenerator zef:sdondley
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |