summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/key4
-rwxr-xr-x.local/bin/polybar-launch6
-rwxr-xr-x.local/bin/rate5
3 files changed, 12 insertions, 3 deletions
diff --git a/.local/bin/key b/.local/bin/key
new file mode 100755
index 0000000..d37c407
--- /dev/null
+++ b/.local/bin/key
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+systemctl restart keyd.service
+rate &
diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch
index d425d48..b72556d 100755
--- a/.local/bin/polybar-launch
+++ b/.local/bin/polybar-launch
@@ -1,10 +1,10 @@
-#!/usr/bin/env bash
+#!/bin/sh
# Terminate already running bar instances
killall -q polybar
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
-polybar bar1 -r 2>&1 | tee -a /tmp/polybar1.log & disown
-polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & disown
+polybar bar1 -r 2>&1 | tee -a /tmp/polybar1.log &
+polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log &
echo "Bars launched..."
diff --git a/.local/bin/rate b/.local/bin/rate
new file mode 100755
index 0000000..fe8ccf3
--- /dev/null
+++ b/.local/bin/rate
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+sleep 2
+xset r rate 300 25
+setxkbmap -option grp:win_space_toggle us,dk