From b402534e79ac776aefc22278b9a6fc31c240ed70 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Fri, 18 Nov 2022 05:25:32 -0500 Subject: refactor: returning to the usage of keymapper.sh (bash) --- .config/awesome/autorun.sh | 1 + .config/awesome/keymapper.sh | 3 +++ .config/awesome/xinput-daemon.sh | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 .config/awesome/keymapper.sh diff --git a/.config/awesome/autorun.sh b/.config/awesome/autorun.sh index a04311e..f9ea291 100755 --- a/.config/awesome/autorun.sh +++ b/.config/awesome/autorun.sh @@ -35,6 +35,7 @@ run /usr/bin/gnome-keyring-daemon --start --components=secrets run /usr/bin/gnome-keyring-daemon --start --components=ssh run xfce4-power-manager run dunst +run ~/.config/awesome/keymapper.sh run ~/.config/awesome/xinput-daemon.sh run ibus-daemon -drxR run /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 diff --git a/.config/awesome/keymapper.sh b/.config/awesome/keymapper.sh new file mode 100755 index 0000000..32eb84d --- /dev/null +++ b/.config/awesome/keymapper.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +input-remapper-control --command stop-all && input-remapper-control --command autoload diff --git a/.config/awesome/xinput-daemon.sh b/.config/awesome/xinput-daemon.sh index dfb3544..959ab72 100755 --- a/.config/awesome/xinput-daemon.sh +++ b/.config/awesome/xinput-daemon.sh @@ -4,7 +4,6 @@ apply_settings () { sleep 2 - input-remapper-control --command stop-all && input-remapper-control --command autoload xinput set-prop pointer:"Logitech USB Trackball" "libinput Natural Scrolling Enabled" 1 xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 1.000000 xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Accel Speed" 0.300000 -- cgit v1.2.3