aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-10-20 18:10:23 +0200
committerKarel Kočí <cynerd@email.cz>2017-10-20 18:10:23 +0200
commit167166c9c1c0ab80dc1a67373241181b00b77b87 (patch)
treea8811dd4697ff050eb5da27ca1d80d8b1e1e21ee
parente908c03fe775787c048ead719220e64b5af8bfe6 (diff)
downloadmyconfigs-167166c9c1c0ab80dc1a67373241181b00b77b87.tar.gz
myconfigs-167166c9c1c0ab80dc1a67373241181b00b77b87.tar.bz2
myconfigs-167166c9c1c0ab80dc1a67373241181b00b77b87.zip
Tiny cleanup
-rwxr-xr-xconfig/i3blocks/scripts/mpd1
-rw-r--r--shellrc9
2 files changed, 2 insertions, 8 deletions
diff --git a/config/i3blocks/scripts/mpd b/config/i3blocks/scripts/mpd
index 12f0fdd..32babe1 100755
--- a/config/i3blocks/scripts/mpd
+++ b/config/i3blocks/scripts/mpd
@@ -54,7 +54,6 @@ case "$BLOCK_BUTTON" in
;;
esac
-STATUS="$(mpc $HOST status)"
if echo "$STATUS" | grep -qE "(playing|paused)"; then
echo `mpc $HOST -f "♫ %artist%, %album%, %title%" status | head -1`
echo
diff --git a/shellrc b/shellrc
index 321c10a..a01b3e5 100644
--- a/shellrc
+++ b/shellrc
@@ -7,13 +7,8 @@
#################################################################################
# Aliases
-if [ "$(uname -s)" = "FreeBSD" ]; then
- alias ls='ls -G'
-else
- alias ls='ls --color=auto'
- eval $(dircolors -b)
- alias make="make -j$(nproc)"
-fi
+alias ls='ls --color=auto'
+eval $(dircolors -b)
alias ll='ls -lh'
alias df='df -h'
alias du='du -h'