summaryrefslogtreecommitdiffstats
path: root/.local/bin/kb
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-15 09:34:31 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-15 09:34:31 +0200
commit6a8f4806805b8742352114b9e94bf3d2a32618f3 (patch)
tree9e52058b3f92899eb9cdf2ff8aabcfdd5c73e5b0 /.local/bin/kb
parentupdate (diff)
downloaddotfiles-bsd-6a8f4806805b8742352114b9e94bf3d2a32618f3.tar.gz
dotfiles-bsd-6a8f4806805b8742352114b9e94bf3d2a32618f3.tar.bz2
dotfiles-bsd-6a8f4806805b8742352114b9e94bf3d2a32618f3.tar.xz
dotfiles-bsd-6a8f4806805b8742352114b9e94bf3d2a32618f3.tar.zst
dotfiles-bsd-6a8f4806805b8742352114b9e94bf3d2a32618f3.zip
update
Diffstat (limited to '')
-rwxr-xr-x.local/bin/kb11
1 files changed, 6 insertions, 5 deletions
diff --git a/.local/bin/kb b/.local/bin/kb
index 89bd4dc..6fd8573 100755
--- a/.local/bin/kb
+++ b/.local/bin/kb
@@ -39,12 +39,13 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# kb
-# Mon Apr 11 19:57:50 CEST 2022
+# Thu Apr 14 21:12:19 CEST 2022
# Joe
#
-# Script to set the keyboard correctly
+# Script to set the internal keyboard correctly
xset r rate 200 150
+setxkbmap -option
setxkbmap -layout us,fr -option grp:alt_shift_toggle
setxkbmap -option ctrl:swapcaps
setxkbmap -option caps:none
@@ -64,8 +65,8 @@ xmodmap -e 'keycode 23 = Escape'
# xmodmap -e 'keycode 23 = Escape'
# # xmodmap -e 'keycode 66 = Escape'
# fi
-mouse=$(xinput list | grep 'HARPOON' | awk '{print $10}' | sed 's/id=//')
-xinput --set-prop "$mouse" 'libinput Accel Speed' -0.40
-notify-send -u low -t 2000 'kb' ' Keyboard set'
+# mouse=$(xinput list | grep 'HARPOON' | awk '{print $10}' | sed 's/id=//')
+# xinput --set-prop "$mouse" 'libinput Accel Speed' -0.40
+notify-send -u low -t 2000 'kb' ' ThinkPad keyboard set'
# vim: filetype=sh