summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam@adast.xyz>2022-05-31 16:28:16 +0200
committerAdam <adam@adast.xyz>2022-06-02 11:21:35 +0200
commitc378c2e6190afbd9538f0a743e21949a98798056 (patch)
treebf22c8fc72ddc48eb923a54d8269ec6149437c24
parent14d624ea44f3e112f613b858d380f560ffdaec87 (diff)
Moved polybar launch script to .local/bin
-rw-r--r--.config/i3/config4
-rwxr-xr-x.config/polybar/launch15
-rwxr-xr-x.local/bin/polybar-launch7
3 files changed, 9 insertions, 17 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 467691a..54f9539 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -191,6 +191,6 @@ for_window [title="^Steam Keyboard$"] floating enable
##### Exec
exec --no-startup-id /usr/bin/unclutter -b
-exec --no-startup-id $HOME/.config/polybar/launch
-exec --no-startup-id picom --config $HOME/.config/picom/picom.conf -b
+exec --no-startup-id ~/.local/bin/polybar-launch
+exec --no-startup-id ~/.local/bin/picom-toggle
exec --no-startup-id nextcloud --background
diff --git a/.config/polybar/launch b/.config/polybar/launch
deleted file mode 100755
index cf23f0b..0000000
--- a/.config/polybar/launch
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-# Terminate already running bar instances
-killall -q polybar
-# If all your bars have ipc enabled, you can also use
-# polybar-msg cmd quit
-
-# # Launch bar1
-# echo "---" | tee -a /tmp/polybar1.log
-# polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown
-# echo "Bar launched..."
-
-for m in $(polybar --list-monitors | cut -d":" -f1); do
- MONITOR=$m polybar --reload bar1 &
-done
diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch
new file mode 100755
index 0000000..952950d
--- /dev/null
+++ b/.local/bin/polybar-launch
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+killall -q polybar
+
+for m in $(polybar --list-monitors | cut -d":" -f1); do
+ MONITOR=$m polybar --reload bar1 &
+done