cswimr/home
Archived
Template
1
0
Fork 0

added sober alias and changed clip to support wayland

Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
This commit is contained in:
Seaswimmer 2024-10-07 11:46:11 -04:00
parent c073951904
commit 2fff0818f6
Signed by: cswimr
GPG key ID: A9C162E867C851FA

View file

@ -20,12 +20,19 @@ alias pacsize="pacman -Qi | egrep '^(Name|Installed)' | cut -f2 -d':' | paste -
alias lg="lazygit"
alias lad="lazydocker"
alias htop="btop"
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 "