Add dotfiles

This commit is contained in:
muon 2024-03-26 11:39:16 +00:00
commit 39fe550b3e
45 changed files with 4363 additions and 0 deletions

13
modules/home/leftwm/up Executable file
View file

@ -0,0 +1,13 @@
#!/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"