From 533f58b5597afc8c088a159ae248dfa9cefba2bc Mon Sep 17 00:00:00 2001 From: fanyx Date: Tue, 12 Jul 2022 16:49:59 +0200 Subject: [PATCH] create sxhkd, picom as user runsv service --- .config/bspwm/bspwmrc | 5 ----- .config/sv/picom/log/run | 3 +++ .config/sv/picom/run | 5 +++++ .config/sv/sxhkd/log/run | 3 +++ .config/sv/sxhkd/run | 6 ++++++ 5 files changed, 17 insertions(+), 5 deletions(-) create mode 100755 .config/sv/picom/log/run create mode 100755 .config/sv/picom/run create mode 100755 .config/sv/sxhkd/log/run create mode 100755 .config/sv/sxhkd/run diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 7f61fa5..fa3e731 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -8,13 +8,8 @@ xrandr --output DP-0 --primary --mode 2560x1440 --rate 165.08 --left-of DP-4 --o # Autolaunch -pgrep -x sxhkd > /dev/null || sxhkd & -pgrep -x picom > /dev/null || picom & ~/.config/polybar/launch.sh & 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 xsetroot -cursor_name left_ptr & diff --git a/.config/sv/picom/log/run b/.config/sv/picom/log/run new file mode 100755 index 0000000..3ab950b --- /dev/null +++ b/.config/sv/picom/log/run @@ -0,0 +1,3 @@ +#!/bin/sh + +svlogd -tt . diff --git a/.config/sv/picom/run b/.config/sv/picom/run new file mode 100755 index 0000000..d54ff48 --- /dev/null +++ b/.config/sv/picom/run @@ -0,0 +1,5 @@ +#!/bin/sh +export DISPLAY=:0 + +exec 2>&1 +exec picom diff --git a/.config/sv/sxhkd/log/run b/.config/sv/sxhkd/log/run new file mode 100755 index 0000000..3ab950b --- /dev/null +++ b/.config/sv/sxhkd/log/run @@ -0,0 +1,3 @@ +#!/bin/sh + +svlogd -tt . diff --git a/.config/sv/sxhkd/run b/.config/sv/sxhkd/run new file mode 100755 index 0000000..13b30e5 --- /dev/null +++ b/.config/sv/sxhkd/run @@ -0,0 +1,6 @@ +#!/bin/sh +export DISPLAY=:0 +export SHELL=/bin/bash + +exec 2>&1 +exec sxhkd