Replace white space indentation with tabs.

This commit is contained in:
Jeremy Gardais 2017-09-28 22:10:20 +02:00
parent 68cbdc5e6a
commit 061e9b99f7
1 changed files with 20 additions and 21 deletions

41
ecran
View File

@ -7,28 +7,28 @@
case "${1}" in case "${1}" in
ds | dockstation | work ) ds | dockstation | work )
xrandr --output HDMI-1 --mode 1920x1200 --left-of LVDS-1 --output LVDS-1 --mode 1366x768 xrandr --output HDMI-1 --mode 1920x1200 --left-of LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for DisplayPort with dock station';; printf 'Xrandr for DisplayPort with dock station';;
vga | lug ) vga | lug )
xrandr --output VGA-1 --mode 1280x1024 --right-of LVDS-1 --output LVDS-1 --mode 1366x768 xrandr --output VGA-1 --mode 1280x1024 --right-of LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with VGA';; printf 'Xrandr for dual screen with VGA';;
hdmi | dp | displayport ) hdmi | dp | displayport )
xrandr --output HDMI-1 --mode 1920x1080 --above LVDS-1 --output LVDS-1 --mode 1366x768 xrandr --output HDMI-1 --mode 1920x1080 --above LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with DisplayPort';; printf 'Xrandr for dual screen with DisplayPort';;
pres | prez | presentation ) pres | prez | presentation )
xrandr --output HDMI-1 --mode 1024x768 --output LVDS-1 --mode 1366x768 --same-as HDMI-1 xrandr --output HDMI-1 --mode 1024x768 --output LVDS-1 --mode 1366x768 --same-as HDMI-1
printf 'Xrandr for presentation';; printf 'Xrandr for presentation';;
- | off ) - | off )
xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off --output HDMI-3 --off xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off --output HDMI-3 --off
xrandr --output VGA --off xrandr --output VGA --off
printf 'Desactivate all video output';; printf 'Desactivate all video output';;
out ) out )
xrandr --output HDMI-3 --mode 1920x1080 --output LVDS-1 --off xrandr --output HDMI-3 --mode 1920x1080 --output LVDS-1 --off
;; ;;
* ) * )
printf 'Bad argument, please use [vga|hdmi|ds|work|-|off]' printf 'Bad argument, please use [vga|hdmi|ds|work|-|off]'
exit 1;; exit 1;;
esac esac
@ -36,4 +36,3 @@ herbstclient detect_monitors
herbstclient reload herbstclient reload
exit 0 exit 0