added scripts folder to gitea

This commit is contained in:
lucca
2026-06-11 13:47:48 -04:00
commit f8130bd7d0
91 changed files with 1868 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"type": "script",
"description": "New Script",
"store": {},
"modes": [],
"usageCount": 0,
"prompt": false,
"omitTrigger": false,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"type": "folder",
"title": "autokey",
"modes": [],
"usageCount": 0,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
}
}
+1
View File
@@ -0,0 +1 @@
# Enter script code
+23
View File
@@ -0,0 +1,23 @@
{
"type": "folder",
"title": "copy-paste",
"modes": [],
"usageCount": 0,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
}
}
@@ -0,0 +1,28 @@
{
"type": "script",
"description": "type clipboard",
"store": {},
"modes": [
3
],
"usageCount": 54,
"prompt": false,
"omitTrigger": false,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": "<f1>"
},
"filter": {
"regex": null,
"isRecursive": false
}
}
@@ -0,0 +1,3 @@
# Enter script code
content = clipboard.get_clipboard()
keyboard.send_keys(content)
+23
View File
@@ -0,0 +1,23 @@
{
"type": "folder",
"title": "hotstrings",
"modes": [],
"usageCount": 0,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[\\w]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
}
}
+31
View File
@@ -0,0 +1,31 @@
{
"type": "phrase",
"description": "iirc",
"modes": [
1
],
"usageCount": 6,
"prompt": false,
"omitTrigger": false,
"matchCase": false,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [
"iirc"
],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[^ \\n]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
},
"sendMode": "kb"
}
@@ -0,0 +1,31 @@
{
"type": "phrase",
"description": "luccapirovano@gmx.com",
"modes": [
1
],
"usageCount": 1,
"prompt": false,
"omitTrigger": false,
"matchCase": false,
"showInTrayMenu": false,
"abbreviation": {
"abbreviations": [
"myemail"
],
"backspace": true,
"ignoreCase": false,
"immediate": false,
"triggerInside": false,
"wordChars": "[^ \\n]"
},
"hotkey": {
"modifiers": [],
"hotKey": null
},
"filter": {
"regex": null,
"isRecursive": false
},
"sendMode": "kb"
}
+1
View File
@@ -0,0 +1 @@
if I recall correctly
@@ -0,0 +1 @@
luccapirovano@gmx.com
+22
View File
@@ -0,0 +1,22 @@
import time
import map2
# readers intercept all keyboard inputs and forward them
reader = map2.Reader(patterns=["/dev/input/by-id/usb-Lite-On_Tech_IBM_USB_Travel_Keyboard_with_Ultra_Nav-event-kbd"])
# mappers change inputs, you can also chain multiple mappers!
mapper = map2.Mapper()
# writers create new virtual devices we can write into
writer = map2.Writer(clone_from = "/dev/input/by-id/usb-Lite-On_Tech_IBM_USB_Travel_Keyboard_with_Ultra_Nav-event-kbd")
# finally, link nodes to control the event flow
map2.link([reader, mapper, writer])
mapper.map("!j", "{ctrl down}{pagedown}{ctrl up}")
mapper.map("!+j", "{ctrl down}{shift down}{pagedown}{shift up}{ctrl up}")
mapper.map("!k", "{ctrl down}{pageup}{ctrl up}")
mapper.map("!+k", "{ctrl down}{shift down}{pageup}{shift up}{ctrl up}")
# keep running indefinitely
map2.wait()
View File