summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
authorAndrés Cuervo <andrescuervor@gmail.com>2023-08-31 01:31:06 +0000
committerAndrés Cuervo <andrescuervor@gmail.com>2023-08-31 01:31:06 +0000
commit43382a5be93b606346d5a55ab604a5d4edd08992 (patch)
tree1e877b92bfeda5e001d997848f836f50d01e1fea /virtual-programs
parenttweak (diff)
downloadfolk-43382a5be93b606346d5a55ab604a5d4edd08992.tar.gz
folk-43382a5be93b606346d5a55ab604a5d4edd08992.zip
Fix esc-restart program
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/esc-restart.folk6
1 files changed, 2 insertions, 4 deletions
diff --git a/virtual-programs/esc-restart.folk b/virtual-programs/esc-restart.folk
index 01a6dd94..02d66f63 100644
--- a/virtual-programs/esc-restart.folk
+++ b/virtual-programs/esc-restart.folk
@@ -1,5 +1,3 @@
-When the keyboard character log is /k/ {
- foreach press $k {
- if {$press eq "esc"} {exec sudo systemctl restart folk}
- }
+When keyboard claims key /key/ is /t/ with modifiers /m/ {
+ if {[string tolower $key] == "esc"} {exec sudo systemctl restart folk}
} \ No newline at end of file