Open indeedwatson opened 5 years ago
The current theme is saved to ~/.cache/wal/last_used_theme
Maybe someone can add something to try to read that file or use the wal config.
I'm back here cause I have the same issue 2 years later. There is no such thing as ~/.cache/wal/last_used_theme
You can do this, for now, having found a theme you particularly like.
cp ~/.cache/wal/colors.json ~/.config/wal/colorscheme/dark/favorite.json
I am assuming, of course, that it is a dark theme.
Afterwards, your "favorite" theme will be listed when you call wal --theme
.
I have a shortcut in i3 to refresh i3 and reload wal with a random theme. Sometimes I'll land on a theme I really like and might just want to stick to that one for a while, but I have no idea how to find out what's the name of a theme.
To have a command like
wal --current
output the name of the current theme would be nice.