summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc11
1 files changed, 9 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9111d2b..a60304d 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -243,8 +243,15 @@ if [[ $_HOST_TYPE == "Linux" ]]; then
alias cal='while true; do clear; echo; khal calendar; sleep 600; done'
alias wifi_list='sudo iwlist wlan0 scan'
alias always_on='xset dpms 0 0 0'
-alias vgaoff='xrandr --output VGA1 --off && xrandr --output LVDS1 --mode 1024x768'
-alias vgaclone='xrandr --output VGA1 --mode 1024x768'
+if [[ $(hostname) == "bogues" ]]; then
+ alias vgaoff='xrandr --output VGA1 --off && xrandr --output LVDS1 --mode 1024x768'
+ alias vgaclone='xrandr --output VGA1 --mode 1024x768'
+elif [[ $(hostname) == "barkley" ]]; then
+ alias vgaoff='xrandr --output DP2 --off && xrandr --output eDP1 --mode 1920x1080'
+ alias vgaclone='xrandr --output DP2 --mode 1280x1024'
+ alias presentation='xrandr --output eDP1 --mode 1024x768 && xrandr --output DP2 --mode 1024x768'
+ alias presentation-off='xrandr --output DP2 --off && xrandr --output eDP1 --mode 1920x1080'
+fi
alias vgaext='xrandr --output VGA1 --mode 1024x768 --left-of LVDS1 --rotate right'
alias vga21='xrandr --output VGA1 --mode 1600x1200 --rate 60 --rotate right && xrandr --output LVDS1 --off'
alias vga22w='xrandr --output VGA1 --mode 1680x1050 --rate 60 --rotate left && xrandr --output LVDS1 --off'