move polybar to user runsv service

This commit is contained in:
fanyx 2022-07-13 09:41:00 +02:00
parent 811a851842
commit 35b1196c04
5 changed files with 19 additions and 2 deletions

View File

@ -9,10 +9,11 @@ xrandr --output DP-0 --primary --mode 2560x1440 --rate 165.08 --left-of DP-4 --o
# Autolaunch
~/.config/polybar/launch.sh &
pgrep -x Discord > /dev/null || Discord &
pgrep -x Discord >/dev/null || Discord &
pgrep -x steam >/dev/null || steam &
# $HOME/.config/polybar/launch.sh
xsetroot -cursor_name left_ptr &
# xsetroot -cursor_name left_ptr &
setxkbmap -model evdev -layout eu
bspc monitor DP-0 -d term browser game code misc

View File

@ -0,0 +1,3 @@
#!/bin/sh
svlogd -tt .

5
.config/sv/polybar-primary/run Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
export DISPLAY=:0
exec 2>&1
polybar primary

View File

@ -0,0 +1,3 @@
#!/bin/sh
svlogd -tt .

View File

@ -0,0 +1,5 @@
#!/bin/bash
export DISPLAY=:0
exec 2>&1
polybar secondary