From c53ca9e7858026bb6f1000c2174ec1fa58e10db4 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 31 Oct 2017 15:37:26 -0400 Subject: [PATCH] Add vagrant halt alias --- .i3/config | 5 +++-- system/.alias | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.i3/config b/.i3/config index f14ed3e..e510f2a 100755 --- a/.i3/config +++ b/.i3/config @@ -67,11 +67,12 @@ bindsym $mod+XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle # m ## requires xbacklight -#bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness -#bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness +## Keyboard Backlighting +#/sys/devices/platform/asus-nb-wmi/leds/asus\:\:kbd_backlight/brightness + # change focus bindsym $mod+h focus left bindsym $mod+t focus down diff --git a/system/.alias b/system/.alias index 4618d33..658ec12 100755 --- a/system/.alias +++ b/system/.alias @@ -15,6 +15,7 @@ alias vp='vagrant provision' alias vssh='vagrant ssh' alias vd='vagrant destroy' alias vc='vagrant destroy && vagrant up --provision' +alias vh="for i in `vagrant global-status | awk '/running/ {print $5}'`; do cd $i && vagrant halt; done" ### Git alias git_clean='git fetch --all && git reset --hard origin/master' @@ -23,4 +24,4 @@ alias git_clean='git fetch --all && git reset --hard origin/master' alias vpn_lyrical='cd /home/ahosking/lyrical/vpn &&sudo openvpn --config gw-udp-1194-ahosking-vpn.ovpn' alias roles_fetch='r10k puppetfile install --puppetfile Puppetfile --moduledir ../../roles/' -alias roles_pull='for role in `ls ../../roles`; do echo "########" $role; echo `git -C ../../roles/$role pull`; done' +alias roles_pull='for role in `ls ../../roles`; do echo "########" $role; echo `git -C ../../roles/$role pull origin master`; done'