Manage bonsaid on dwm too

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Peter John Hartman <peterjohnhartman@gmail.com>
This commit is contained in:
Willow Barraco
2023-02-15 15:04:30 +01:00
committed by Peter John Hartman
parent 5f153c6dd8
commit 5f0516bed7
3 changed files with 7 additions and 0 deletions

View File

@@ -272,6 +272,7 @@ sway() {
xorg() {
defaultconfig "$(xdg_data_path sxmo/appcfg/xinit_template)" "$XDG_CONFIG_HOME/sxmo/xinit" 644
defaultconfig "$(xdg_data_path sxmo/appcfg/dunst.conf)" "$XDG_CONFIG_HOME/dunst/dunstrc" 644
defaultconfig "$(xdg_data_path sxmo/appcfg/bonsai_tree.json)" "$XDG_CONFIG_HOME/sxmo/bonsai_tree.json" 644
defaultconfig "$(xdg_data_path sxmo/appcfg/xob_styles.cfg)" "$XDG_CONFIG_HOME/xob/styles.cfg" 644
defaultconfig "$(xdg_data_path sxmo/appcfg/conky.conf)" "$XDG_CONFIG_HOME/sxmo/conky.conf" 644
}

View File

@@ -13,6 +13,11 @@ case "$SXMO_WM" in
/usr/bin/dwm -v
/usr/bin/dmenu -v
/usr/bin/st -v
if ! command -v bonsaictl > /dev/null; then
echo "no bonsai"
else
which bonsaictl
fi
;;
sway)
/usr/bin/sway -v