This is a collection of dotfiles and scripts for my bspwm setup
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh |
|
|
|
start() { |
|
[ -z "$1" ] && return 1 |
|
|
|
[ -z "$(pidof -x "$(echo "$@" | cut -d ' ' -f 1)")" ] && $@ & |
|
} |
|
|
|
start firefox |
|
start urxvt |
|
|
|
# Thunar client doesnt get a new pid when running in daemon mode |
|
[ "$(xdo id -a Thunar | wc -l)" -lt 3 ] && thunar &
|
|
|