Releases: nwg-piotr/nwg-shell-config
Releases · nwg-piotr/nwg-shell-config
nwg-shell-config 0.5.35
- [Hyprland] added Miscellanous -> 'Disable splash rendering' check button;
- added 'nwg-dialog' entry point:
The nwg-dialog
command provides a centered No/Yes dialog window, displayed on gtk-layer-shell, for use with potentially harmful commands.
E.g. to reboot the machine, instead of systemctl reboot
, you may now use nwg-dialog -p reboot -c "systemctl reboot"
.
❯ nwg-dialog -h
usage: nwg-dialog [-h] [-c CMD] [-d] [-i ICON] [-l LANG] [-p PROMPT] [-t]
options:
-h, --help show this help message and exit
-c CMD, --cmd CMD Command to execute if "Yes" clicked
-d, --dict list Dictionary for current $LANG
-i ICON, --icon ICON Icon name ('dialog-question' by default)
-l LANG, --lang LANG force use of a certain Lang value (like 'en_US', 'pl_PL')
-p PROMPT, --prompt PROMPT
dialog window Prompt: string or a dictionary key
-t, --translations list available Translations
As a window prompt value, you may give 'Some own string' (quoted), or use e key from the dictionary, like e.g. exit-sway
(quotes not necessary).
❯ nwg-dialog -d
args: Namespace(cmd='', dict=True, icon='dialog-question', lang='', prompt='Did you forget to include a prompt?', translations=False)
User locale: pl_PL
Translation into 'pl_PL' found.
Key: value pairs for lang 'pl_PL':
'exit-hyprland': 'Zakończyć sesję Hyprland?'
'exit-sway': 'Zakończyć sesję sway?'
'no': 'Nie'
'poweroff': 'Wyłączyć komputer?'
'reboot': 'Uruchomić komputer ponownie?'
'sleep': 'Uśpić komputer?'
'yes': 'Tak'
You may check available translations with the -t
flag:
❯ nwg-dialog -t
args: Namespace(cmd='', dict=False, icon='dialog-question', lang='', prompt='Did you forget to include a prompt?', translations=True)
User locale: pl_PL
Translation into 'pl_PL' found.
Available translations:
ca_ES
de_AT
de_DE
en_AR
en_US
es_ES
fr_FR
it_IT
nl_NL
pl_PL
pt_BR
pt_PT
ru_RU
tr_TR
nwg-shell-config 0.5.34
"launcher-super-key": true
set by default in all just installed presets;"exit-on": false
set by default in all just installed presets; this will export$exit=$launcher
to~/.config/hypr/includes
, instead of anwg-bar -*args
command (Super + X
key binding). We have a power bar in nwg-drawer; nwg-bar may be still turned back on by the user.
nwg-shell-config 0.5.33
nwg-shell-config 0.5.32
Documentation updated.
nwg-shell-config 0.5.31
Added support for nwg-clipman.
nwg-shell-config 0.5.30
- fixed #68;
- gtklock removed from Hyprland-related settings, as it no longer works on Hyprland.
nwg-shell-config 0.5.29
- update indicator: added support for Venom Linux.
nwg-shell-config 0.5.28
nwg-shell-config 0.5.27
nwg-shell-config 0.5.26
- Update indicator allowed to work w/o baph installed; #63 by @rb-andrade.
(You need yay, if so)