dotfiles

My dotfiles: zsh, lf, sxiv, i3, ranger, mpd and more
Log | Files | Refs | Submodules | README | LICENSE

commit bfd7ef110c3a205dc13ddb6c63d4c0d19f13ceaa
parent 4b508301489da44757bee5db64e2cd0b9f29591e
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed,  2 Dec 2020 10:53:50 -0500

Merge branch 'master' of github.com:LukeSmithxyz/voidrice

Diffstat:
M.config/shell/profile | 2+-
M.local/bin/displayselect | 2+-
M.local/bin/statusbar/music | 2+-
M.local/bin/statusbar/torrent | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.config/shell/profile b/.config/shell/profile @@ -6,7 +6,7 @@ # to clean up. # Adds `~/.local/bin` to $PATH -export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':')" +export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)" unsetopt PROMPT_SP diff --git a/.local/bin/displayselect b/.local/bin/displayselect @@ -53,7 +53,7 @@ multimon() { # Multi-monitor handler. esac ;} onescreen() { # If only one output available or chosen. - xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ') + xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -) } postrun() { # Stuff to run to clean up. diff --git a/.local/bin/statusbar/music b/.local/bin/statusbar/music @@ -1,6 +1,6 @@ #!/bin/sh -filter() { mpc | sed "/^volume:/d;s/\\&/&amp;/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d" | paste -sd ' ';} +filter() { mpc | sed "/^volume:/d;s/\\&/&amp;/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d" | paste -sd ' ' -;} pidof -x mpdup >/dev/null 2>&1 || mpdup >/dev/null 2>&1 & diff --git a/.local/bin/statusbar/torrent b/.local/bin/statusbar/torrent @@ -8,7 +8,7 @@ transmission-remote -l | grep % | s/.*Idle.*/B 🕰️/; s/.*Uploading.*/L ⬆️/; s/.*%.*/M ⬇️/" | - sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' + sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' - case $BLOCK_BUTTON in 1) setsid -f "$TERMINAL" -e tremc ;;