Crates.io | i3quitdialog |
lib.rs | i3quitdialog |
version | 1.0.0 |
source | src |
created_at | 2023-03-07 21:51:17.521379 |
updated_at | 2023-06-06 18:11:58.515029 |
description | A simple quit dialog for i3wm. |
homepage | https://crates.io/crates/i3quitdialog |
repository | https://github.com/cacilhas/microcli/tree/master/i3quitdialog |
max_upload_size | |
id | 803973 |
size | 277,008 |
A simple quit dialog for i3wm.
cargo install i3quitdialog
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
supportI3 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 colourAcceptable values:
#0000ff
)Black
Blue
DarkBlue
Cyan
DarkCyan
Green
DarkGreen
Magenta
DarkMagenta
Red
DarkRed
White
Yellow
DarkYellow
License: BSD-3-Clause