From 4f652d1c49dcf0cb963404308bc4521918b3a292 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 9 Oct 2022 00:49:29 +0200 Subject: scripts: minor cleanup --- .local/bin/polybar-launch | 10 ++-------- .local/bin/rate | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch index 7dfde7a..a23059e 100755 --- a/.local/bin/polybar-launch +++ b/.local/bin/polybar-launch @@ -2,11 +2,5 @@ polybar-msg cmd quit -for m in $(polybar --list-monitors | cut -d":" -f1); do - MONITOR=$m - LOG_FILE="/tmp/polybar.$m.log" - echo "---" >> $LOG_FILE - polybar bar1 >> $LOG_FILE 2>&1 & disown -done - -echo "Bars launched..." +echo "---" >> /tmp/polybar.log +polybar bar1 --reload >> /tmp/polybar.log 2>&1 & disown diff --git a/.local/bin/rate b/.local/bin/rate index fe8ccf3..5c4c93e 100755 --- a/.local/bin/rate +++ b/.local/bin/rate @@ -1,5 +1,4 @@ #!/bin/sh -sleep 2 xset r rate 300 25 setxkbmap -option grp:win_space_toggle us,dk -- cgit v1.2.3-70-g09d2