19 lines
487 B
Bash
Executable File
19 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Kill already running duplicate process
|
|
_ps="waybar mako swaybg"
|
|
for _prs in $_ps; do
|
|
if [ "$(pidof "${_prs}")" ]; then
|
|
killall -9 "${_prs}"
|
|
fi
|
|
done
|
|
|
|
# Start our applications
|
|
swaybg --output '*' --mode fill --image /home/jonathan/Downloads/wallpaper.jpg &
|
|
mako &
|
|
#waybar &
|
|
foot --server &
|
|
swayidle -w timeout 300 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000' &
|
|
gobar | dwlb -status-stdin all &
|
|
dwlb -font "JetBrainsMonoNerdFont:size=10"
|