1
0
This commit is contained in:
Deven Blake
2021-01-19 11:48:13 -05:00
parent ec6ae63c9c
commit ae3ef5f182
4 changed files with 44 additions and 37 deletions

View File

@@ -1,7 +1,3 @@
# settings for specific monitors
alias 1702="xrandr --output HDMI-1 --auto --mode 720x480 --right-of LVDS-1"
alias mv720="xrandr --output VGA-1 --auto --right-of LVDS-1"
# convenient music play
# tons of repeated code, should be fixed
album() {
@@ -17,17 +13,14 @@ song() {
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
# private bookmarks
alias bmarks="firefox file:///home/trinity/bookmarks.html"
alias bmarks="firefox file://"$HOME"/bookmarks.html"
# requires bat
alias cat="bat --theme=ansi-light"
alias cat="9 cat"
alias cls="clear"
alias firefox="firefox-developer-edition"
alias hdmioff="xrandr --output HDMI-1 --off"
# useful aliases
alias iftoggle="sudo ip link set"
alias ifswitch="iftoggle $1 down && iftoggle $1 up"
@@ -72,7 +65,9 @@ alias tabon="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput VGA-1"
alias tracert="tracepath"
alias vgaoff="xrandr --output VGA-1 --off"
webm() {
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis $(printf "$1" | asplit - . 0).webm
}
alias yta="youtube-dl -f bestaudio"