added sober alias and changed clip to support wayland
Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
This commit is contained in:
parent
c073951904
commit
2fff0818f6
1 changed files with 8 additions and 1 deletions
|
@ -20,12 +20,19 @@ alias pacsize="pacman -Qi | egrep '^(Name|Installed)' | cut -f2 -d':' | paste -
|
|||
alias lg="lazygit"
|
||||
alias lad="lazydocker"
|
||||
alias htop="btop"
|
||||
alias clip="xsel -ib"
|
||||
if [[ "${XDG_SESSION_TYPE}" == "x11" ]]; then
|
||||
alias clip="xsel -ib"
|
||||
elif [[ -n "${WAYLAND_DISPLAY}" ]]; then
|
||||
alias clip="wl-copy"
|
||||
else
|
||||
alias clip='echo "Cannot determine desktop session type, are you running a display server that is not X11 or Wayland?"'
|
||||
fi
|
||||
alias driver="nvidia-smi"
|
||||
alias gpu="sudo nvidia-settings"
|
||||
alias yaystats="yay -P --stats"
|
||||
alias pacstats="yaystats"
|
||||
alias taildrop="tailscale file"
|
||||
alias protontricks="flatpak run com.github.Matoking.protontricks"
|
||||
alias sober="flatpak run org.vinegarhq.Sober"
|
||||
alias runactions="forgejo-runner exec --default-actions-url https://www.coastalcommits.com --gitea-instance https://www.coastalcommits.com"
|
||||
alias sudo="sudo "
|
||||
|
|
Reference in a new issue