mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
13 lines
333 B
Bash
Executable file
13 lines
333 B
Bash
Executable file
#!/usr/bin/env bash
|
|
export SCRIPTPATH="$HOME/.config/leftwm/themes/current"
|
|
|
|
#down the last running theme
|
|
if [ -f "/tmp/leftwm-theme-down" ]; then
|
|
/tmp/leftwm-theme-down
|
|
rm /tmp/leftwm-theme-down
|
|
fi
|
|
ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down
|
|
|
|
#set the theme.toml config
|
|
leftwm-command "LoadTheme $SCRIPTPATH/theme.toml"
|
|
|