aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlista Kanjo2022-11-18 05:25:32 -0500
committerBlista Kanjo2022-11-18 05:25:32 -0500
commitb402534e79ac776aefc22278b9a6fc31c240ed70 (patch)
tree220daa5f876f03d5fe5b44e03b64efbfa83cb6a3
parent516cbe5345e269ad28a053a43c8eaf61ebde185a (diff)
refactor: returning to the usage of keymapper.sh (bash)
-rwxr-xr-x.config/awesome/autorun.sh1
-rwxr-xr-x.config/awesome/keymapper.sh3
-rwxr-xr-x.config/awesome/xinput-daemon.sh1
3 files changed, 4 insertions, 1 deletions
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