aboutsummaryrefslogtreecommitdiff
path: root/src/config/files/polybar/scripts/launcher.sh
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-09-09 23:09:21 -0500
committerAaditya Dhruv <[email protected]>2023-09-09 23:09:21 -0500
commit39044cddeeba5ad91402f8abfb2a286e48a4f50d (patch)
tree5187a5cba1e6f437e59310f17956f16e3638d291 /src/config/files/polybar/scripts/launcher.sh
parent1811600f4f2547a6116e1cc1c91f8cf89adcac6b (diff)
Move files for config role
This movement is needed to maintain the role structure
Diffstat (limited to 'src/config/files/polybar/scripts/launcher.sh')
-rwxr-xr-xsrc/config/files/polybar/scripts/launcher.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config/files/polybar/scripts/launcher.sh b/src/config/files/polybar/scripts/launcher.sh
new file mode 100755
index 0000000..7b4c31e
--- /dev/null
+++ b/src/config/files/polybar/scripts/launcher.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+FILE="$HOME/.config/polybar/scripts/rofi/colors.rasi"
+
+## random accent color
+#COLORS=('#EC7875' '#EC6798' '#BE78D1' '#75A4CD' '#00C7DF' '#00B19F' '#61C766' \
+# '#B9C244' '#EBD369' '#EDB83F' '#E57C46' '#AC8476' '#6C77BB' '#6D8895')
+#AC="${COLORS[$(( $RANDOM % 14 ))]}"
+#SE="${COLORS[$(( $RANDOM % 14 ))]}"
+#sed -i -e "s/ac: .*/ac: ${AC}FF;/g" $FILE
+#sed -i -e "s/se: .*/se: ${SE}FF;/g" $FILE
+
+rofi -dpi 96 -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/scripts/rofi/launcher.rasi