diff --git a/config/keyboard_changes.sh b/config/keyboard_changes.sh index a6f822e..b52ecee 100755 --- a/config/keyboard_changes.sh +++ b/config/keyboard_changes.sh @@ -3,7 +3,7 @@ /usr/bin/setxkbmap -option caps:swapescape # I need this to be only for apple devices... -/usr/bin/setxkbmap -option altwin:swap_alt_win +#/usr/bin/setxkbmap -option altwin:swap_alt_win # Key Repeat Rate diff --git a/config/sd_switch_display.sh b/config/sd_switch_display.sh new file mode 100755 index 0000000..8846771 --- /dev/null +++ b/config/sd_switch_display.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# If the display is plugged in, change to that. +# If the display is not plugged in, use the laptop display + +if [ $1 == 1 ] +then + xrandr --output VGA-1 --auto --primary --output LVDS-1 --off +else + xrandr --output LVDS-1 --auto --primary --output VGA-1 --off +fi + +feh --bg-scale ~/pictures/wallpapers/mist_forrest.jpg