Linux command
wpgtk 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Add wallpaper to collection
wpg -a [/path/to/image.jpg]
Set wallpaper and apply colorscheme
wpg -s [wallpaper.jpg]
List added wallpapers
wpg -l
Show current wallpaper
wpg -c
Shuffle wallpaper's colorscheme
wpg -z [wallpaper.jpg]
Import JSON colorscheme
wpg -i [wallpaper.jpg] [colorscheme.json]
Apply colorscheme to terminal
wpg -t
Set wallpaper without changing colorscheme
wpg -ns [wallpaper.jpg]
Adjust saturation of colorscheme
wpg --sat [wallpaper.jpg] [0.1]
Launch GUI
wpgtk
说明
wpgtk is a colorscheme, wallpaper, and template manager for Unix-like systems. It uses pywal as its backend to extract colors from wallpapers and apply them system-wide through configurable templates. The tool generates coordinated colorschemes from wallpaper images, applying them to terminals, GTK themes, window managers, and other applications. Templates define how colors are applied to each application's configuration files. Both a CLI (wpg) and GUI (wpgtk) interface are provided. Colorschemes are saved with their wallpapers, allowing instant theme switching. Colors can be manually edited, imported from JSON (compatible with terminal.sexy), or auto-adjusted for better contrast.
参数
- -a _image_
- Add wallpaper to collection.
- -s _wallpaper_ _fallback_
- Set wallpaper and colorscheme.
- -l
- List added wallpapers.
- -c
- Print current wallpaper name.
- -d _wallpaper_
- Delete wallpaper from collection.
- -t
- Apply colorscheme to terminal.
- -z _wallpaper_
- Shuffle/regenerate colorscheme.
- -n
- Do not set wallpaper when applying colorscheme (use with -s).
- -i _wallpaper_ _json_
- Import colorscheme from JSON file.
- -A _wallpaper_
- Auto-adjust colorscheme for distinct foreground and background.
- --auto _wallpaper_
- Auto-generate foreground versions of the first 8 colors.
- --sat _wallpaper_ _value_
- Adjust saturation of all colors (negative values subtract).
- --brt _wallpaper_ _value_
- Adjust brightness of all colors (negative values subtract).
- --theme _theme_
- Set a preset theme. Without arguments, list available themes.
- --pywal _theme_
- Select and set a pywal theme.
- -h
- Display help.
FAQ
What is the wpgtk command used for?
wpgtk is a colorscheme, wallpaper, and template manager for Unix-like systems. It uses pywal as its backend to extract colors from wallpapers and apply them system-wide through configurable templates. The tool generates coordinated colorschemes from wallpaper images, applying them to terminals, GTK themes, window managers, and other applications. Templates define how colors are applied to each application's configuration files. Both a CLI (wpg) and GUI (wpgtk) interface are provided. Colorschemes are saved with their wallpapers, allowing instant theme switching. Colors can be manually edited, imported from JSON (compatible with terminal.sexy), or auto-adjusted for better contrast.
How do I run a basic wpgtk example?
Run `wpg -a [/path/to/image.jpg]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a _image_ do in wpgtk?
Add wallpaper to collection.