aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-08-11 02:02:39 +0200
committerDavid Runge <dave@sleepmap.de>2015-08-11 02:02:39 +0200
commit645574233e19e3637e813d63f02d5b8ff7d49c17 (patch)
tree91a9f295f366a8fe1d6961b6ef36d595be1cc055
parent0e42da51caaa2f2a45b72bdce27e8e47efe72ab6 (diff)
downloaddotfiles-645574233e19e3637e813d63f02d5b8ff7d49c17.tar.gz
dotfiles-645574233e19e3637e813d63f02d5b8ff7d49c17.tar.bz2
dotfiles-645574233e19e3637e813d63f02d5b8ff7d49c17.tar.xz
dotfiles-645574233e19e3637e813d63f02d5b8ff7d49c17.zip
.zsh.after/aliases.zsh: Adding mask to the systemctl aliases. Adding xclip with proper display setting.
-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