#!/bin/sh run() { if ! pgrep -f "$1" ; then "$@"& fi } # Currently not working # run "(pgrep alacritty && alacritty msg create-window --title bottom -e btm --battery || alacritty --title bottom -e btm --battery)" # run "alacritty --title bottom --command btm --battery" run "alackaday" run "cbatticon" run "blueman-applet" run "nm-applet" run "nextcloud --background" run "pasystray" run "xscreensaver -no-splash" run "sleep 4" run "wmctrl -r bottom -t 1" run "keepassxc"