Add KDE reboot/restartplasma aliases, centralize pacman.conf, fix surf

This commit is contained in:
Jonas Ryssel 2022-08-27 12:45:16 +02:00
parent 5bf618a0e6
commit 3e294acaa4

View File

@ -4,6 +4,7 @@ export RIPGREP_CONFIG_PATH=~/.ripgreprc
if [ $USER = 'knyffen' ] || ([ $HOSTNAME = 'jry-thinkpad-t470' ] && [ $USER = 'jry' ]); then if [ $USER = 'knyffen' ] || ([ $HOSTNAME = 'jry-thinkpad-t470' ] && [ $USER = 'jry' ]); then
alias rm="trash" alias rm="trash"
alias reboot="qdbus org.kde.Shutdown /Shutdown logoutAndReboot"
fi fi
#if [ $USER = 'knyffen' ]; then #if [ $USER = 'knyffen' ]; then
@ -35,11 +36,13 @@ alias rebuild-detector="checkrebuild -v"
alias jix-vpn="sudo openvpn --config ~/openvpn/jobindex.conf" alias jix-vpn="sudo openvpn --config ~/openvpn/jobindex.conf"
alias enable_touch="xinput enable 'Wacom HID 51E3 Finger touch'" alias enable_touch="xinput enable 'Wacom HID 51E3 Finger touch'"
alias disable_touch="xinput disable 'Wacom HID 51E3 Finger touch'" alias disable_touch="xinput disable 'Wacom HID 51E3 Finger touch'"
alias pacman="nice -n 19 pacman"
alias yay="nice -n 19 yay"
alias restartplasma='kquitapp5 plasmashell && kstart5 plasmashell'
alias ack="ack -T junkFiles" alias ack="ack -T junkFiles"
function ack_open { nvim $( ack -m 1 -T junkFiles "$@" | grep -Po "^(?:lib|t|tmpl|python)/[^:]+:\d+" | tr '\n' ' ' ); } function ack_open { nvim $( ack -m 1 -T junkFiles "$@" | grep -Po "^(?:lib|t|tmpl|python)/[^:]+:\d+" | tr '\n' ' ' ); }
alias pacman="nice -n 19 pacman --config ~/Nextcloud/configfiles/pacman.conf"
alias pamac="nice -n 19 pamac"
alias yay="nice -n 19 yay --config ~/Nextcloud/configfiles/pacman.conf"
alias restartplasma='kquitapp5 plasmashell; kstart5 plasmashell'
alias surf="GDK_BACKEND=x11 surf"
# git # git
alias gst="git status" alias gst="git status"