27 lines
851 B
Text
27 lines
851 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
MAKO_CONFIG="$HOME/.config/hypr/mako/config"
|
||
|
BAR_CONFIG="$HOME/.config/hypr/waybar/config"
|
||
|
BAR_STYLE="$HOME/.config/hypr/waybar/style.css"
|
||
|
|
||
|
_ps=(waybar mako)
|
||
|
for _prs in "${_ps[@]}"; do
|
||
|
if [[ `pidof ${_prs}` ]]; then
|
||
|
killall -9 ${_prs}config
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
if [[ ! `pidof mako` ]]; then
|
||
|
mako --config ${MAKO_CONFIG} &
|
||
|
fi
|
||
|
|
||
|
if [[ ! `pidof waybar` ]]; then
|
||
|
waybar --bar hyprbar --config ${BAR_CONFIG} --style ${BAR_STYLE} &
|
||
|
fi
|
||
|
|
||
|
hyprctl dispatch "exec [workspace 2 silent] kitty $HOME/.local/bin/term_startup.sh"
|
||
|
sleep 2
|
||
|
hyprctl dispatch "exec [workspace 2 silent] signal-desktop --use-tray-icon --enable-features=UseOzonePlatform --enable-features=WaylandWindowDecorations --ozone-platform=wayland"
|
||
|
sleep 2
|
||
|
hyprctl dispatch "exec [workspace 2 silent] schildichat-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland"
|