From 645574233e19e3637e813d63f02d5b8ff7d49c17 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 11 Aug 2015 02:02:39 +0200 Subject: .zsh.after/aliases.zsh: Adding mask to the systemctl aliases. Adding xclip with proper display setting. --- .zsh.after/aliases.zsh | 10 ++++++++-- 1 file 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 -- cgit v1.2.3-54-g00ecf