|
@ -31,7 +31,7 @@ bspc rule -a Zathura state=tiled |
|
|
# function to check if a program already runs |
|
|
# function to check if a program already runs |
|
|
# if not, start it |
|
|
# if not, start it |
|
|
function run { |
|
|
function run { |
|
|
if ! pgrep $1 ; then |
|
|
|
|
|
|
|
|
if ! pgrep $1>/dev/null ; then |
|
|
$@& |
|
|
$@& |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
@ -39,7 +39,7 @@ function run { |
|
|
#autostart stuff |
|
|
#autostart stuff |
|
|
xsetroot -cursor_name left_ptr |
|
|
xsetroot -cursor_name left_ptr |
|
|
numlockx on & |
|
|
numlockx on & |
|
|
sxhkd & |
|
|
|
|
|
|
|
|
run sxhkd & |
|
|
run picom & |
|
|
run picom & |
|
|
pulseaudio --start & |
|
|
pulseaudio --start & |
|
|
|
|
|
|
|
@ -48,3 +48,4 @@ if [[ $(hostname) == 'laptop' ]]; then |
|
|
else |
|
|
else |
|
|
feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/3440x1440/3440x1440_Sea_Sunset.jpg & |
|
|
feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/3440x1440/3440x1440_Sea_Sunset.jpg & |
|
|
fi |
|
|
fi |
|
|
|
|
|
|