mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +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
|
# start a terminal
|
||||||
bindsym $mod+Return exec alacritty
|
bindsym $mod+Return exec alacritty
|
||||||
|
|
||||||
# open ranger
|
# open file manager
|
||||||
bindsym $mod+Shift+t exec alacritty -e ranger
|
bindsym $mod+d exec dde-file-manager
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
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