summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2022-12-04 20:26:47 +0000
committerOmar Rizwan <omar@omar.website>2022-12-04 20:26:47 +0000
commit787de4722c94447ea31a725bd741cf09890c844d (patch)
treefe67f9a179aa35948d2a3a73eb1081492913b531 /virtual-programs
parentDelete rfid-calibration.folk virtual program (diff)
downloadfolk-787de4722c94447ea31a725bd741cf09890c844d.tar.gz
folk-787de4722c94447ea31a725bd741cf09890c844d.zip
Add esc-restart.folk
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/esc-restart.folk7
1 files changed, 7 insertions, 0 deletions
diff --git a/virtual-programs/esc-restart.folk b/virtual-programs/esc-restart.folk
new file mode 100644
index 00000000..02f02c31
--- /dev/null
+++ b/virtual-programs/esc-restart.folk
@@ -0,0 +1,7 @@
+Wish $this has filename "esc-restart.folk"
+
+When the keyboard character log is /k/ {
+ foreach press $k {
+ if {$press eq "esc"} {exec sudo systemctl restart folk}
+ }
+} \ No newline at end of file