summaryrefslogtreecommitdiff
path: root/.local/share
diff options
context:
space:
mode:
Diffstat (limited to '.local/share')
-rw-r--r--.local/share/applications/img.desktop2
-rw-r--r--.local/share/applications/lynx.desktop8
-rw-r--r--.local/share/noteworthy/evremap/etc/conf.d/evremap.toml19
-rwxr-xr-x.local/share/noteworthy/evremap/etc/init.d/evremap6
4 files changed, 34 insertions, 1 deletions
diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop
index 42aa81e..d3a3174 100644
--- a/.local/share/applications/img.desktop
+++ b/.local/share/applications/img.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Type=Application
Name=Image viewer
-Exec=/usr/bin/sxiv -a %f
+Exec=/usr/bin/imv -a %f
diff --git a/.local/share/applications/lynx.desktop b/.local/share/applications/lynx.desktop
new file mode 100644
index 0000000..d89da4f
--- /dev/null
+++ b/.local/share/applications/lynx.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Lynx Web Browser
+Comment=Text-based web browser
+Exec=/usr/bin/foot -e w3m -sixel %u
+Categories=Network;WebBrowser;
+MimeType=text/html;
+Icon=utilities-terminal
diff --git a/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml
new file mode 100644
index 0000000..82407de
--- /dev/null
+++ b/.local/share/noteworthy/evremap/etc/conf.d/evremap.toml
@@ -0,0 +1,19 @@
+device_name = "AT Translated Set 2 keyboard"
+
+# capslock+escape combo
+[[dual_role]]
+input = "KEY_CAPSLOCK"
+hold = ["KEY_LEFTMETA"]
+tap = ["KEY_ESC"]
+
+# Left shift + "(" combo
+[[dual_role]]
+input = "KEY_LEFTSHIFT"
+hold = ["KEY_LEFTSHIFT"]
+tap = ["KEY_KPLEFTPAREN"]
+
+# Right shift + ")" combo
+[[dual_role]]
+input = "KEY_RIGHTSHIFT"
+hold = ["KEY_RIGHTSHIFT"]
+tap = ["KEY_KPRIGHTPAREN"]
diff --git a/.local/share/noteworthy/evremap/etc/init.d/evremap b/.local/share/noteworthy/evremap/etc/init.d/evremap
new file mode 100755
index 0000000..2a2f713
--- /dev/null
+++ b/.local/share/noteworthy/evremap/etc/init.d/evremap
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+
+supervisor=supervise-daemon
+command="/usr/local/bin/evremap"
+command_args="remap /etc/conf.d/evremap.toml"
+