mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
3 Commits
42ed7c1c87
...
ae70fda84a
Author | SHA1 | Date | |
---|---|---|---|
|
ae70fda84a | ||
|
86909b77ed | ||
|
6703e19b9d |
@ -5,10 +5,13 @@ function start_if_not_running
|
||||
###---iceweasel/firefox is weird---###
|
||||
if [ $argv[1] = "iceweasel" ]
|
||||
set PROCESS_NAME "iceweasel|MainThread"
|
||||
else if [ $argv[1] = "element-desktop-nightly" ]
|
||||
set PROCESS_NAME "element-desktop"
|
||||
else
|
||||
set PROCESS_NAME $argv[1]
|
||||
end
|
||||
|
||||
|
||||
if [ (pgrep -u (id -u) -x "$PROCESS_NAME" | wc -l) -lt 1 ]
|
||||
if type -q $argv[1]
|
||||
eval "$argv[1] &"
|
||||
@ -96,6 +99,7 @@ bspc rule -a Zathura state=tiled
|
||||
|
||||
bspc rule -a iceweasel desktop='^1'
|
||||
bspc rule -a Brave-browser desktop='^1'
|
||||
bspc rule -a bashtop desktop='^2'
|
||||
bspc rule -a Element desktop='^3'
|
||||
bspc rule -a Element-Nightly desktop='^3'
|
||||
bspc rule -a weechat desktop='^3'
|
||||
|
Loading…
Reference in New Issue
Block a user