diff --git a/i3/config b/i3/config index 472752e..64b19f5 100644 --- a/i3/config +++ b/i3/config @@ -96,8 +96,8 @@ bindsym $mod+shift+7 move container to workspace 7 bindsym $mod+shift+8 move container to workspace 8 bindsym $mod+shift+9 move container to workspace 9 bindsym $mod+shift+0 move container to workspace 10 -bindsym $mod+grave exec "slock" -bindsym $mod+shift+grave exec "slock" +bindsym $mod+grave exec "~/.i3/run.sh screen-lock" +bindsym $mod+shift+grave exec "~/.i3/run.sh screen-lock" bindsym $mod+r mode "resize" bindsym $mod+u focus parent bindsym $mod+shift+u focus child diff --git a/i3/run.sh b/i3/run.sh index deaebb5..2ee4906 100755 --- a/i3/run.sh +++ b/i3/run.sh @@ -13,17 +13,6 @@ if [ "$1" = "lock" ];then xinput enable $ID echo "Touchpad enabled." fi - - - ##synclient TouchpadOff=1 - #MOUSE=$(xinput list | grep Mouse | sed -e 's/.*id=//' | cut -f 1) - #TRACK=$(xinput list | grep 'TouchPad' | sed -e 's/.*id=//' | cut -f 1) - #xinput set-prop $MOUSE "Device Enabled" 0 - #xinput set-prop $TRACK "Device Enabled" 0 - ##while [ ! "$PASSWORD" = "a" ];do export PASSWORD=$((rofi -dmenu)