a bunch of stuff
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
# settings for specific monitors
|
||||
alias 1702="xrandr --output HDMI1 --auto --mode 720x480 --right-of LVDS1"
|
||||
alias mv720="xrandr --output VGA1 --auto --right-of LVDS1"
|
||||
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() {
|
||||
selection="$(find /mnt/audio -type d -mindepth 2 2>/dev/null | sort | dmenu -l 50)"
|
||||
[ $selection = $(echo -e "\n") ] 2>/dev/null || i3-swallow audacious "$selection"
|
||||
}
|
||||
song() {
|
||||
selection="$(find /mnt/audio -type f | sort | dmenu -l 50)"
|
||||
[ $selection = $(echo -e "\n") ] 2>/dev/null || i3-swallow audacious "$selection"
|
||||
}
|
||||
|
||||
# audio drive
|
||||
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
|
||||
@@ -15,7 +26,7 @@ alias cls="clear"
|
||||
|
||||
alias firefox="firefox-developer-edition"
|
||||
|
||||
alias hdmioff="xrandr --output HDMI1 --off"
|
||||
alias hdmioff="xrandr --output HDMI-1 --off"
|
||||
|
||||
# useful aliases
|
||||
alias iftoggle="sudo ip link set"
|
||||
@@ -31,6 +42,9 @@ mnt() {
|
||||
sudo mount /dev/$1 /mnt/$1 && cd /mnt/$1
|
||||
}
|
||||
|
||||
# music player
|
||||
alias mu="audacious"
|
||||
|
||||
# i always forget this one but it's useful
|
||||
alias p="ping 1.1.1.1"
|
||||
|
||||
@@ -53,12 +67,14 @@ pyenv() {
|
||||
alias sudo="doas"
|
||||
|
||||
# Wacom Intuos 2
|
||||
alias taboff="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput LVDS1"
|
||||
alias tabon="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput VGA1"
|
||||
alias taboff="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput LVDS-1"
|
||||
alias tabon="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput VGA-1"
|
||||
|
||||
alias tracert="tracepath"
|
||||
|
||||
alias vgaoff="xrandr --output VGA1 --off"
|
||||
alias vgaoff="xrandr --output VGA-1 --off"
|
||||
|
||||
alias yta="youtube-dl -f bestaudio"
|
||||
|
||||
# project i'm working on
|
||||
ytfeed() {
|
||||
|
||||
Reference in New Issue
Block a user