Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When leftwm-theme apply is called from script it wont execute a reload #61

Open
VuiMuich opened this issue Oct 14, 2022 · 0 comments
Open

Comments

@VuiMuich
Copy link
Member

VuiMuich commented Oct 14, 2022

This was initially reported by @arcolinuxz on discord dm.

The following script seems not to be able to trigger a SoftReload of leftwm, the symlink to the current theme gets updated though:

#!/bin/bash
#set -e
###############################################################################
# Author	:	Erik Dubois
# Website	:	https://www.erikdubois.be
# Website	:	https://www.arcolinux.info
# Website	:	https://www.arcolinux.com
# Website	:	https://www.arcolinuxd.com
# Website	:	https://www.arcolinuxb.com
# Website	:	https://www.arcolinuxforum.com
###############################################################################
#
#   DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
###############################################################################

echo
echo "###############################################################################"
echo "Testing themes"
echo "###############################################################################"
echo

leftwm-theme apply candy
sleep 5
leftwm-theme apply arise
sleep 5
leftwm-theme apply db
sleep 5
leftwm-theme apply db-color-dev
sleep 5
leftwm-theme apply db-scifi
sleep 5
leftwm-theme apply db-scifi-star
sleep 5
leftwm-theme apply db-nemesis
sleep 5
leftwm-theme apply docky
sleep 5
leftwm-theme apply doublebar
sleep 5
leftwm-theme apply eden
sleep 5
leftwm-theme apply fancy
sleep 5
leftwm-theme apply forest
sleep 5
leftwm-theme apply grayblocks
sleep 5
leftwm-theme apply greyblocks
sleep 5
leftwm-theme apply halo
sleep 5
leftwm-theme apply material
sleep 5
leftwm-theme apply matrix
sleep 5
leftwm-theme apply mesh
sleep 5
leftwm-theme apply parker
sleep 5
leftwm-theme apply pi
sleep 5
leftwm-theme apply sb-horror
sleep 5
leftwm-theme apply shades
sleep 5
leftwm-theme apply smooth
sleep 5
leftwm-theme apply space
sleep 5
leftwm-theme apply starwars
sleep 5
leftwm-theme apply kittycafe-sm
sleep 5
leftwm-theme apply kittycafe-dm

echo "###############################################################################"
echo "###                                DONE                                    ####"
echo "###############################################################################"
echo

I tested with this script on my side and everything worked fine:

#!/usr/bin/env bash
#set -e

leftwm-theme apply Forest
sleep 5
leftwm-theme apply basic_eww
sleep 5
leftwm-theme apply serika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant