Add fish functions for switching screens

This commit is contained in:
Colin Powell
2019-07-25 15:41:03 -04:00
parent a2bef52152
commit df07e6f896
4 changed files with 10 additions and 3 deletions

View File

@ -0,0 +1,3 @@
function 1screen
~/.screenlayout/single.sh
end

View File

@ -0,0 +1,3 @@
function 3screens
~/.screenlayout/three.sh
end

View File

@ -1,5 +1,5 @@
#!/bin/sh
xrandr --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off
setxkbmap -option caps:escape &
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics ClickPad" 0 &
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 &
#xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics ClickPad" 0 &
#xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 &

View File

@ -1,2 +1,3 @@
#!/bin/sh
xrandr --output HDMI-2 --off --output HDMI-1 --mode 1920x1080 --pos 4480x0 --rotate left --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 2560x232 --rotate normal --output DP-2 --mode 2560x1440 --pos 0x0 --rotate normal
xrandr --output HDMI-2 --off --output HDMI-1 --mode 1920x1080 --pos 1920x0 --rotate left --output DP-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x304 --rotate normal --output DP-2 --mode 1920x1080 --pos 3000x840 --rotate normal
setxkbmap -option caps:escape &