Linux command
eww 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
eww daemon
Open
eww [-c|--config] [path/to/source_code_directory] open [window_name]
Close
eww [-c|--config] [path/to/source_code_directory] close [window_name]
Reload
eww reload
Kill
eww kill
Get
eww get [variable_name]
Update
eww update [variable_name]="[value]"
Example
eww logs
说明
eww (ElKowar's Wacky Widgets) creates custom desktop widgets for any window manager. It uses a configuration language to define widgets with dynamic content and styling. Popular for creating status bars, sidebars, and other desktop elements.
参数
- daemon
- Start the daemon process.
- open _window_
- Open a widget window.
- open-many _windows..._
- Open multiple widget windows at once.
- close _window_
- Close a widget window.
- close-all
- Close all open widget windows.
- reload
- Reload configuration files.
- kill
- Stop the daemon.
- logs
- Display and watch logs.
- get _variable_
- Print the current value of a variable.
- update _var=value_
- Update a variable value.
- state
- Display the current state of all variables.
- inspect
- Open the GTK debugger.
- shell-completions _shell_
- Generate shell completions (bash, fish, zsh).
- -c, --config _path_
- Specify config directory.
- --no-daemonize
- Don't fork the daemon process to the background.
FAQ
What is the eww command used for?
eww (ElKowar's Wacky Widgets) creates custom desktop widgets for any window manager. It uses a configuration language to define widgets with dynamic content and styling. Popular for creating status bars, sidebars, and other desktop elements.
How do I run a basic eww example?
Run `eww daemon` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does daemon do in eww?
Start the daemon process.