start xcompngr if installed

This commit is contained in:
Ray Elliott 2020-10-27 12:46:25 +00:00
parent 105be67b46
commit 9c4642ed82
1 changed files with 5 additions and 2 deletions

View File

@ -80,6 +80,11 @@ _host=$(hostname)
case "$_host" in case "$_host" in
MachineOne) MachineOne)
barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.8.10:24800 & barriers --no-tray --debug ERROR --name Patricia -c ~/.config/barrier/barrier.conf --address 192.168.8.10:24800 &
if command -v xcompmgr ; then
sleep 3 \
&& xcompmgr -c -f -F -r0 \
&& "$HOME/.config/bspwm/focus_flash.sh"
fi
;; ;;
MachineTwo) MachineTwo)
# nvidia drivers xrandr settings # nvidia drivers xrandr settings
@ -91,8 +96,6 @@ case "$_host" in
;; ;;
esac esac
# sleep 3; polybar-msg cmd hide &
bspwm bspwm
# if [ -f /usr/local/bin/start_dwm ] ; then # if [ -f /usr/local/bin/start_dwm ] ; then