From c7fd33bbc3d6a29742791d374d9977ae3aa4bc72 Mon Sep 17 00:00:00 2001 From: Marvin Johanning Date: Tue, 31 Mar 2020 11:36:16 +0200 Subject: [PATCH] Update i3 config, update rc.conf --- .config/ranger/rc.conf | 6 ++++-- .i3/config | 12 ++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 0f50031..0572efe 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -322,8 +322,8 @@ map g? cd /usr/share/doc/ranger #Jumping around – Personal shortcuts map gPc cd ~/Pictures map gDc cd ~/Documents -map gPg cd ~/Documents/Programming -map gRb cd ~/Documents/Programming/Ruby +map gPg cd ~/Programming +map gRb cd ~/Programming/Ruby map gDd cd ~/Downloads map gPw cd ~/Pictures/Wallpapers map g.. cd .. @@ -333,6 +333,8 @@ map gRg cd ~/.config/ranger map gCf cd ~/.config map gMc cd ~/Music map gVd cd ~/Videos +map gMt cd ~/run/media/ +map gPb cd ~/Documents/Programming/Books # Moving files to specific places map mvPc shell mv %s ~/Pictures diff --git a/.i3/config b/.i3/config index e92bb8c..1496d16 100644 --- a/.i3/config +++ b/.i3/config @@ -89,6 +89,18 @@ mode "$mode_launcher" { bindsym Return mode "default" } +#Mode for toggling TouchPad +set $touchpad_toggle [E]nable, [D]isable + +bindsym $mod+Shift+t mode "$touchpad_toggle" +mode "$touchpad_toggle" { + bindsym e exec xinput --enable "AlpsPS/2 ALPS DualPoint TouchPad" + bindsym d exec xinput --disable "AlpsPS/2 ALPS DualPoint TouchPad" + + bindsym Escape mode "default" + bindsym Return mode "default" +} + # focus_follows_mouse no