Add AutoKey configuration

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-01-30 22:30:24 +01:00
parent 2a6d463ddf
commit f06bb1dff6
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
11 changed files with 215 additions and 3 deletions

View file

@ -20,6 +20,9 @@ The main content of this repository can be found in the `system` folder. It
contains all configurations files, directories and scripts that mostly get symlinked contains all configurations files, directories and scripts that mostly get symlinked
by my install script. by my install script.
### `.config/autokey`
This folder contains my phrases and scripts for [AutoKey](https://github.com/autokey/autokey).
### `.config/dconf` ### `.config/dconf`
This folder contains my configurations that are stored in dconf by applications. These are getting loaded on boot in `.bash_profile`. This folder contains my configurations that are stored in dconf by applications. These are getting loaded on boot in `.bash_profile`.
@ -63,7 +66,7 @@ functions that I use in other scripts.
### `udev` ### `udev`
This folder contains my custom udev rules. They are moved to This folder contains my custom udev rules. They are moved to
`/etc/udev/rules.d/` by my installation script. `/etc/udev/rules.d/` by the installation script.
### `.aliases` ### `.aliases`
This file contains my aliases that I use on a regular basis. I also use it to replace some standard commands wiht alternatives, like using `exa` instead of `ls`. This file contains my aliases that I use on a regular basis. I also use it to replace some standard commands wiht alternatives, like using `exa` instead of `ls`.
@ -102,7 +105,7 @@ This file contains my [Vim](https://www.vim.org/) configuration.
This file is called when a new x-server is started manually. It loads the contents of `.xsetup` and then starts i3. This file is called when a new x-server is started manually. It loads the contents of `.xsetup` and then starts i3.
### `.xprofile` ### `.xprofile`
This file is used by LightDM to load my normal `.bash_profile` file and `.xsetup`. This file is used by some display managers to load my normal `.bash_profile` file and `.xsetup`.
### `.Xresources` ### `.Xresources`
This file currently contains my color configuration for [Rofi](https://github.com/DaveDavenport/rofi). This file currently contains my color configuration for [Rofi](https://github.com/DaveDavenport/rofi).

View file

@ -34,6 +34,7 @@ LINKED_FILES_HOME=(
".bash_logout" ".bash_logout"
".bash_profile" ".bash_profile"
".bashrc" ".bashrc"
".config/autokey"
".config/compton.conf" ".config/compton.conf"
".config/dconf" ".config/dconf"
".config/dunst" ".config/dunst"

View file

@ -0,0 +1,46 @@
{
"version": "0.95.4",
"userCodeDir": null,
"settings": {
"isFirstRun": true,
"serviceRunning": true,
"menuTakesFocus": false,
"showTrayIcon": true,
"sortByUsageCount": true,
"promptToSave": false,
"enableQT4Workaround": false,
"interfaceType": "XRecord",
"undoUsingBackspace": true,
"windowDefaultSize": [
955,
1010
],
"hPanePosition": 240,
"columnWidths": [
150,
50,
100
],
"showToolbar": true,
"notificationIcon": "autokey-status",
"workAroundApps": ".*VirtualBox.*|krdc.Krdc",
"triggerItemByInitial": false,
"scriptGlobals": {}
},
"folders": [],
"toggleServiceHotkey": {
"enabled": true,
"modifiers": [
"<shift>",
"<super>"
],
"hotKey": "k"
},
"configHotkey": {
"enabled": true,
"modifiers": [
"<super>"
],
"hotKey": "k"
}
}

View file

@ -0,0 +1,46 @@
{
"version": "0.95.4",
"userCodeDir": null,
"settings": {
"isFirstRun": true,
"serviceRunning": true,
"menuTakesFocus": false,
"showTrayIcon": true,
"sortByUsageCount": true,
"promptToSave": false,
"enableQT4Workaround": false,
"interfaceType": "XRecord",
"undoUsingBackspace": true,
"windowDefaultSize": [
955,
1010
],
"hPanePosition": 240,
"columnWidths": [
150,
50,
100
],
"showToolbar": true,
"notificationIcon": "autokey-status",
"workAroundApps": ".*VirtualBox.*|krdc.Krdc",
"triggerItemByInitial": false,
"scriptGlobals": {}
},
"folders": [],
"toggleServiceHotkey": {
"enabled": true,
"modifiers": [
"<shift>",
"<super>"
],
"hotKey": "k"
},
"configHotkey": {
"enabled": true,
"modifiers": [
"<super>"
],
"hotKey": "k"
}
}

View file

@ -0,0 +1,31 @@
{
"type": "phrase",
"description": "E-Mail",
"modes": [
1
],
"usageCount": 58,
"prompt": false,
"omitTrigger": false,
"matchCase": false,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [
"#@"
],
"backspace": true,
"ignoreCase": false,
"immediate": true,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
},
"sendMode": "kb"
}

View file

@ -0,0 +1,27 @@
{
"type": "folder",
"title": "Phrases",
"modes": [
3
],
"usageCount": 4,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [
"<ctrl>"
],
"hotKey": "<f7>"
},
"filter": {
"regex": null,
"isRecursive": false
}
}

View file

@ -0,0 +1 @@
severin.kaderli@gmail.com

View file

@ -0,0 +1,30 @@
{
"type": "script",
"description": "current_date",
"store": {},
"modes": [
1
],
"usageCount": 12,
"prompt": false,
"omitTrigger": false,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [
"#d"
],
"backspace": true,
"ignoreCase": false,
"immediate": true,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
}
}

View file

@ -0,0 +1,23 @@
{
"type": "folder",
"title": "Scripts",
"modes": [],
"usageCount": 16,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
}
}

View file

@ -0,0 +1,3 @@
import datetime
current_date = datetime.datetime.now()
keyboard.send_keys(current_date.strftime("%Y-%m-%d"))

View file

@ -214,6 +214,7 @@ exec_always --no-startup-id feh --bg-fill $HOME/GoogleDrive/02_Media/Images/01_W
exec_always --no-startup-id $HOME/bin/resolution.sh exec_always --no-startup-id $HOME/bin/resolution.sh
# Other applications # Other applications
exec autokey-gtk
exec google-chrome-beta exec google-chrome-beta
exec termite exec termite
exec discord exec discord