mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
new stuff
This commit is contained in:
parent
89f8af3fd2
commit
89974ba846
3 changed files with 24 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ floating_modifier $mod
|
|||
# start a terminal
|
||||
bindsym $mod+Return exec alacritty
|
||||
|
||||
# open ranger
|
||||
bindsym $mod+Shift+t exec alacritty -e ranger
|
||||
# open file manager
|
||||
bindsym $mod+d exec dde-file-manager
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
|
|
|||
11
i3/inverse-scroll.sh
Executable file
11
i3/inverse-scroll.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Get id of touchpad and the id of the field corresponding to
|
||||
# natural scrolling
|
||||
id=`xinput list | grep "Touchpad" | cut -d'=' -f2 | cut -d'[' -f1`
|
||||
natural_scrolling_id=`xinput list-props $id | \
|
||||
grep "Natural Scrolling Enabled (" \
|
||||
| cut -d'(' -f2 | cut -d')' -f1`
|
||||
|
||||
# Set the property to true
|
||||
xinput --set-prop $id $natural_scrolling_id 1
|
||||
11
i3/tap-to-click.sh
Executable file
11
i3/tap-to-click.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Get id of touchpad and the id of the field corresponding to
|
||||
# tapping to click
|
||||
id=`xinput list | grep "Touchpad" | cut -d'=' -f2 | cut -d'[' -f1`
|
||||
tap_to_click_id=`xinput list-props $id | \
|
||||
grep "Tapping Enabled (" \
|
||||
| cut -d'(' -f2 | cut -d')' -f1`
|
||||
|
||||
# Set the property to true
|
||||
xinput --set-prop $id $tap_to_click_id 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue