create sxhkd, picom as user runsv service

This commit is contained in:
fanyx 2022-07-12 16:49:59 +02:00
parent 7a015e96c8
commit 533f58b559
5 changed files with 17 additions and 5 deletions

View File

@ -8,13 +8,8 @@ xrandr --output DP-0 --primary --mode 2560x1440 --rate 165.08 --left-of DP-4 --o
# Autolaunch # Autolaunch
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom &
~/.config/polybar/launch.sh & ~/.config/polybar/launch.sh &
pgrep -x Discord > /dev/null || Discord & pgrep -x Discord > /dev/null || Discord &
# pgrep -x pipewire > /dev/null || pipewire &
# pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
# $HOME/.config/polybar/launch.sh # $HOME/.config/polybar/launch.sh
xsetroot -cursor_name left_ptr & xsetroot -cursor_name left_ptr &

3
.config/sv/picom/log/run Executable file
View File

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

5
.config/sv/picom/run Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
export DISPLAY=:0
exec 2>&1
exec picom

3
.config/sv/sxhkd/log/run Executable file
View File

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

6
.config/sv/sxhkd/run Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
export DISPLAY=:0
export SHELL=/bin/bash
exec 2>&1
exec sxhkd