gtklock
gtklock copied to clipboard
Preview Style / No issue
Is there a way/option to execute gtklock in a window (for example in hyprland) to preview the style changes I made?
Try this:
$ gtklock -il
Great, but it doesn't show the theme, fonts or wallpaper.
Can I use it with a config/CSS-style-file like gtklock -il -c ~/.config/gtklock/style.css for example?
I answered my own question almost...
Config options -g, --gtk-theme Set GTK theme -s, --style Load CSS style file -m, --modules Load gtklock modules -b, --background Load background -t, --time-format Set time format -H, --idle-hide Hide form when idle -T, --idle-timeout Idle timeout in seconds -S, --start-hidden Start with hidden form -L, --lock-command Command to execute before locking -U, --unlock-command Command to execute after unlocking
This did the job and will help creating Screenshots/Previews for Styles I am working on.
gtklock -il -s ~/.config/gtklock/style.css -b /usr/share/sddm/themes/abstractdark-sddm-theme/background.png
Example Screenshot
Thanks a lot and super cool project BTW!