Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new systemd shortcuts

  • Loading branch information...
commit 05be78fa4073e41eca48f2c99113f7645e37a4ed 1 parent 315ff72
@graysky2 authored
Showing with 9 additions and 6 deletions.
  1. +4 −3 dotfiles/.vnc/xstartup
  2. +5 −3 dotfiles/.zshrc
View
7 dotfiles/.vnc/xstartup
@@ -1,4 +1,5 @@
#!/bin/sh
-xrdb $HOME/.Xresources
-export XKL_XMODMAP_DISABLE=1
-exec startxfce4
+#xrdb $HOME/.Xresources
+#export XKL_XMODMAP_DISABLE=1
+#exec startxfce4
+exec startlxde
View
8 dotfiles/.zshrc
@@ -4,7 +4,7 @@
# general setup stuff
echo -e "\x1B]2;$(whoami)@$(uname -n)\x07";
-export MPD_HOST=$(ip addr show eno1 | grep -m1 inet | awk -F' ' '{print $2}' | sed 's/\/.*$//')
+export MPD_HOST=$(ip addr show br0 | grep -m1 inet | awk -F' ' '{print $2}' | sed 's/\/.*$//')
bindkey -v
[[ -z "$PS1" ]] && return
@@ -57,8 +57,10 @@ alias t5='sudo systemctl isolate graphical.target'
# since v0.9.3 of greml-zsh-config, had to append a letter 'd' to enable to avoid
# conflicts with the zsh builtin enable
alias listd='find /etc/systemd/system -mindepth 1 -type d | xargs ls -l --color'
-start() { sudo systemctl start $1.service; sudo systemctl status $1.service; }
-stop() { sudo systemctl stop $1.service; sudo systemctl status $1.service; }
+Start() { sudo systemctl start $1.service; sudo systemctl status $1.service; }
+start() { sudo systemctl start $1.service; }
+Stop() { sudo systemctl stop $1.service; sudo systemctl status $1.service; }
+stop() { sudo systemctl stop $1.service; }
restart() { sudo systemctl restart $1.service; sudo systemctl status $1.service; }
status() { sudo systemctl status $1.service; }
enabled() { sudo systemctl enable $1.service; listd; }
Please sign in to comment.
Something went wrong with that request. Please try again.