-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packages list fix external monitor configuration add startup and touchpad shell scripts
- Loading branch information
1 parent
2e671e0
commit 5bab729
Showing
4 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
# | ||
xrandr --output eDP-1 --mode 1920x1080 | ||
|
||
xrandr --output HDMI-1 --mode 1920x1080 --scale 1x0.999 --above eDP-1 --refresh 60 | ||
|
||
xrandr --output eDP-1 --mode 1920x1200 --refresh 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
sh $HOME/.config/.scripts/config_monitor.sh; sleep 1; | ||
sh $HOME/.config/.scripts/touchpad.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
enabled=1 | ||
disabled=0 | ||
|
||
touchpad_id=$(xinput list | grep "Touchpad" | awk '{print $6}' |cut -d "=" -f 2) | ||
|
||
enable_tapping_button_id=$(xinput list-props $touchpad_id | grep "Tapping Enabled" | grep -v "Default" | awk '{print $4}' | grep -o '[0-9]\+' ) | ||
enable_natural_scrolling_id=$(xinput list-props $touchpad_id | grep "Natural Scrolling Enabled" | grep -v "Default" | awk '{print $5}' | grep -o '[0-9]\+' ) | ||
|
||
xinput set-prop $touchpad_id $enable_tapping_button_id $enabled | ||
xinput set-prop $touchpad_id $enable_natural_scrolling_id $enabled |