Skip to content

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

Open
@VuiMuich

Description

@VuiMuich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions