aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-02-07 16:30:47 +0100
committerDavid Runge <dave@sleepmap.de>2021-02-07 16:30:47 +0100
commitb65223f7ff7e76c3cf83f9fe912a266a414d810a (patch)
treef07c663fce034c7db5b5f67746b0ade498086112
parent74af8ee7103891e694503af5b8e86b3c5b2373d9 (diff)
downloaddotfiles-b65223f7ff7e76c3cf83f9fe912a266a414d810a.tar.gz
dotfiles-b65223f7ff7e76c3cf83f9fe912a266a414d810a.tar.bz2
dotfiles-b65223f7ff7e76c3cf83f9fe912a266a414d810a.tar.xz
dotfiles-b65223f7ff7e76c3cf83f9fe912a266a414d810a.zip
aliases.zsh: Drop privileges and change mpv args
.zsh.after/aliases.zsh: Adhere to changes to mpv for how to pass parameters. Do not escalate privileges if not necessary for systemctl related calls.
-rw-r--r--.zsh.after/aliases.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index be12367..80e4f29 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -38,9 +38,9 @@ for index ({1..9}) alias "$index"="cd +${index}"; unset index
#MPLAYER
alias mplayer='mplayer -ao jack,pulse,alsa'
if pgrep Xwayland > /dev/null; then
- alias mpv='mpv --audio-channels=stereo --gpu-context=wayland -ao jack,pulse,alsa --sub-auto=fuzzy'
+ alias mpv='mpv --audio-channels=stereo --gpu-context=wayland -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="minimixer:in1_*"'
else
- alias mpv='mpv --audio-channels=stereo -ao jack,pulse,alsa --sub-auto=fuzzy'
+ alias mpv='mpv --audio-channels=stereo -ao=jack,pulse,alsa --sub-auto=fuzzy --jack-port="minimixer:in1_*"'
fi
if [[ "$VENDOR" == "apple" ]]; then
alias mpv='mpv --sub-auto=fuzzy'
@@ -110,7 +110,7 @@ alias sdss='sudo systemctl --system list-sockets'
alias sdsu='sudo systemctl --system list-units'
alias sdsuf='sudo systemctl --system list-unit-files'
alias sdsdep='sudo systemctl --system list-dependencies'
-alias sdscat='sudo systemctl --system cat'
+alias sdscat='systemctl --system cat'
alias sdsreload='sudo systemctl daemon-reload'
alias sds='sudo systemctl -a'
alias sdsfail='sudo systemctl -a -l --no-legend --state=failed'
@@ -172,7 +172,7 @@ alias pacrs='pacman -Ss' #Search for package(s) in the repositories
alias pacli='pacman -Qi' #Display information about a given package in the local database
alias pacls='pacman -Qs' #Search for package(s) in the local database
alias pacorph='sudo pacman -Qdt' #Search for orphan packages
-alias paclal='sudo pacman -Ql' #List installed files of a given package
+alias paclal='pacman -Ql' #List installed files of a given package
alias pacg='pacman -Sg' #List all groups or all packages in specified group
alias pacclean='sudo pacman -Sc' #Remove all packages from local repository, not installed atm, remove all unused repos
alias pacconf='sudo find /etc -type f \( -name "*.pacsave" -o -name "*.pacnew" \)' #Search for .pacnew and .pacsave files