Fixed polybar issue.
This commit is contained in:
parent
1881610999
commit
7cabfb5fcc
@ -17,11 +17,11 @@ for m in $(polybar --list-monitors | cut -d":" -f1); do
|
|||||||
echo "Launching polybar on monitor $m"
|
echo "Launching polybar on monitor $m"
|
||||||
MONITOR=$m TRAY_POSITION=none polybar --reload secondary &
|
MONITOR=$m TRAY_POSITION=none polybar --reload secondary &
|
||||||
if [ "$started_tray" = false ]; then
|
if [ "$started_tray" = false ]; then
|
||||||
MONITOR=$m TRAY_POSITION=right polybar --reload example &
|
MONITOR=$m TRAY_POSITION=right polybar --reload primary &
|
||||||
started_tray=true
|
started_tray=true
|
||||||
echo "launching $m with tray"
|
echo "launching $m with tray"
|
||||||
else
|
else
|
||||||
MONITOR=$m TRAY_POSITION=none polybar --reload example &
|
MONITOR=$m TRAY_POSITION=none polybar --reload primary &
|
||||||
echo "launching $m without tray"
|
echo "launching $m without tray"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
@ -2,8 +2,7 @@
|
|||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
# disabled this for now, want to see everything happening
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
#source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user