summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-09 00:49:29 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-09 00:49:29 +0200
commit4f652d1c49dcf0cb963404308bc4521918b3a292 (patch)
treeebc1da660c96900a0dd23a382aca3df66fbd6ff8
parentc67588de6c97f2182fd87e3f7cc139e055385963 (diff)
scripts: minor cleanup
-rwxr-xr-x.local/bin/polybar-launch10
-rwxr-xr-x.local/bin/rate1
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