Add fish functions for switching screens
This commit is contained in:
3
fish/.config/fish/functions/1screen.fish
Normal file
3
fish/.config/fish/functions/1screen.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function 1screen
|
||||
~/.screenlayout/single.sh
|
||||
end
|
||||
3
fish/.config/fish/functions/3screens.fish
Normal file
3
fish/.config/fish/functions/3screens.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function 3screens
|
||||
~/.screenlayout/three.sh
|
||||
end
|
||||
@ -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 &
|
||||
|
||||
@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user