aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/aliases.zsh10
1 files changed, 8 insertions, 2 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 9488aa2..1668fc7 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -84,6 +84,8 @@ alias sdsreload='sudo systemctl daemon-reload'
alias sds='sudo systemctl --all'
alias sdserr='sudo systemctl --all --full |grep error'
alias sdsfail='sudo systemctl --all --full |grep failed'
+alias sdsmask='sudo systemctl mask'
+alias sdsunmask='sudo systemctl unmask'
#systemd user services
alias sdustart='systemctl --user start'
alias sdustop='systemctl --user stop'
@@ -108,6 +110,8 @@ alias sdureload='systemctl --user daemon-reload'
#alias sdu='systemctl --user'
alias sduerr='systemctl --user --all --full |grep error'
alias sdufail='systemctl --user --all --full |grep failed'
+alias sdumask='sudo systemctl --user mask'
+alias sduunmask='sudo systemctl --user unmask'
#poweroff/reboot/isolate
alias sdiso='sudo systemctl isolate '
alias sdreboot='sudo systemctl reboot'
@@ -157,8 +161,7 @@ alias yaup='yaourt -Syu --devel --aur' #Updates all locally installed repositor
alias yadb='yaourt -B $HOME/ownCloud/backup/settings/' #Backs up the yaourt database
##XCLIP
-alias cpx="xclip -selection clipboard"
-alias cpx="xclip"
+alias cpx="xclip -selection clipboard -display :0"
##CD
alias cd.sds="cd /etc/systemd/system"
@@ -196,6 +199,9 @@ alias pas='pulseaudio --start'
alias paflush='pax11publish -r'
alias bthp="pactl load-module module-bluetooth-device address='00:1B:66:01:6C:D1'" #load bluetooth headphone module for pulseaudio
+#PYTHON
+alias pyserv='python -m http.server' # start a python http server
+
#WOL
alias woldave_in='wol -i homey 00:15:f2:e0:e0:c6' #wake up homey
alias woldave_ex='wol -p X -i frqb.zapto.org 00:15:f2:e0:e0:c6' #wake up homey via