8 releases (1 stable)
| 1.0.0 | Jun 6, 2023 |
|---|---|
| 0.1.15 | Jun 6, 2023 |
| 0.1.14 | Apr 13, 2023 |
| 0.1.12 | Mar 31, 2023 |
#1514 in GUI
57 downloads per month
115KB
360 lines
i3quitdialog
A simple quit dialog for i3wm.
Build and install
cargo install i3quitdialog
Settings
The “Exit” button works out of the box. In order to allow users to halt and
reboot the system, add them to the power group.
You can just call it:
i3quitdialog
However, if you are setting a
blocklet to launch
I3 Quit Dialog, prefer using i3-msg:
[Logoff]
command=i3-msg -q -- exec --no-startup-id i3quitdialog
color=#ff0000
full_text=⏻
text=⏻
interval=0
#signal=10 # uncomment this line to capture `pkill -SIGRTMIN+10 i3blocks`
.XResources support
I3 Quit Dialog supports the following keys from xrdb (case sensitive):
i3quitdialog.Title.foreground: window colouri3quitdialog.Title.background: window background colouri3quitdialog.ExitButton.color: exit button colouri3quitdialog.CancelButton.color: cancel button colouri3quitdialog.HaltButton.color: halt button colouri3quitdialog.RebootButton.color: halt button colour
Acceptable values:
- Hexadecimal RGB (
#0000ff) - One of the following strings:
BlackBlueDarkBlueCyanDarkCyanGreenDarkGreenMagentaDarkMagentaRedDarkRedWhiteYellowDarkYellow
License: BSD-3-Clause
Dependencies
~8–30MB
~431K SLoC