diff options
author | William Carroll <wpcarro@gmail.com> | 2019-05-13T15·36+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-05-13T15·36+0100 |
commit | 011d302b9eed55ac92422c631432e0563b091a61 (patch) | |
tree | b0900c97b47c8789b060060763ec2d2ae5b7391f /configs/shared | |
parent | a59605c756b614bd5c536fe03a643b73ac04d1f2 (diff) |
Supports home_theater function
Helpful reminder for how to setup bluetooth, TV streaming, etc. Sadly I need this because I still have a lot of trouble working with Linux.
Diffstat (limited to 'configs/shared')
-rw-r--r-- | configs/shared/zsh/functions.zsh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/configs/shared/zsh/functions.zsh b/configs/shared/zsh/functions.zsh index 6aa7da46d6a5..4c395897d660 100644 --- a/configs/shared/zsh/functions.zsh +++ b/configs/shared/zsh/functions.zsh @@ -5,6 +5,35 @@ prodaccess() { cowsay $(/google/data/ro/users/di/diamondm/engfortunes/fortune.sh --extra_space) } +home_theater() { + # Does the following: + # - connects to NordVPN for HBO + # - connects to the TV via the attached HDMI cable + # - connects to the bluetooth speaker + + # `nordvpn` is an alias defined in `aliases.zsh` + echo 'Run the following to stream HBOGo from this laptop to your TV:' + echo ' 1. nordvpn' + echo ' 2. xrandr --output HDMI1 --mode 3840x2160' + echo ' 3. bluetoothctl' + echo ' 4. connect CC:6E:A4:32:6B:BB' + echo + echo 'Having trouble? Use the following tools to troubleshoot:' + echo ' - blueman-manager' + echo ' - pavucontrol' + echo ' - gnome-control-center' +} + +create_citc() { + # Creates an `hg` citc client and `cd`s to its root. + # Usage: create_citc esc-b-119275355 + # Note: May want to get into the habit of naming citc clients after the + # Buganizer tickets. The buganizer portion can be prefixed with the shorthand + # representation of the project it relates to. This coupling could lead to + # more integrated tooling. + hg citc $1 && g4d $1 +} + fv() { # Usage: fv file pattern # This is useful when you know the fuzzy name of the file you want to edit |