From f43db76a8ff0ea9be1b9099156513312f69be399 Mon Sep 17 00:00:00 2001 From: Phantop Date: Thu, 29 Aug 2024 23:09:19 -0400 Subject: [PATCH] add xremap, alt launcher binding, syncthing start --- autostart/syncthing.desktop | 5 +++++ autostart/xremap.desktop | 5 +++++ ...:gnome:settings-daemon:plugins:media-keys: | 7 +++++- xremap.yml | 22 +++++++++++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 autostart/syncthing.desktop create mode 100644 autostart/xremap.desktop create mode 100644 xremap.yml diff --git a/autostart/syncthing.desktop b/autostart/syncthing.desktop new file mode 100644 index 0000000..03a1bf1 --- /dev/null +++ b/autostart/syncthing.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=syncthing +Description= +Exec=syncthing diff --git a/autostart/xremap.desktop b/autostart/xremap.desktop new file mode 100644 index 0000000..c56704c --- /dev/null +++ b/autostart/xremap.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=xremap +Description= +Exec=xremap --mouse /home/glados/.config/xremap.yml diff --git a/dconf/:org:gnome:settings-daemon:plugins:media-keys: b/dconf/:org:gnome:settings-daemon:plugins:media-keys: index 1468e01..17f8704 100644 --- a/dconf/:org:gnome:settings-daemon:plugins:media-keys: +++ b/dconf/:org:gnome:settings-daemon:plugins:media-keys: @@ -1,5 +1,5 @@ [/] -custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/'] +custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom13/'] www=['q'] [custom-keybindings/custom0] @@ -66,3 +66,8 @@ name='Open' binding='c' command='kitty fish -c "exec nnn -A"' name='Files' + +[custom-keybindings/custom13] +binding='space' +command='fish -c launcher' +name='Launcher' diff --git a/xremap.yml b/xremap.yml new file mode 100644 index 0000000..d8d18bf --- /dev/null +++ b/xremap.yml @@ -0,0 +1,22 @@ +keymap: + - name: global + remap: + alt-h: left + alt-l: right + alt-k: up + alt-j: down + alt-shift-h: alt-left + alt-shift-l: alt-right + alt-shift-k: alt-up + alt-shift-j: alt-down + alt-comma: apostrophe + alt-shift-d: pagedown + alt-u: pageup + btn_extra: pageup + btn_side: pagedown +modmap: + - name: global + remap: + alt_r: + held: super_r + alone: scrolllock