Skip to content

Releases: nwg-piotr/nwg-shell-config

nwg-shell-config 0.5.35

18 Apr 01:03
Compare
Choose a tag to compare
  • [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.

image

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

07 Feb 00:27
Compare
Choose a tag to compare
  • "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 a nwg-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

05 Feb 00:54
Compare
Choose a tag to compare
  • adder app drawer PowerBar commands in the 'Applications' tab;

image

  • added Show PowerBar check button in Profile -> Application Drawer settings.

image

nwg-shell-config 0.5.32

27 Jan 01:31
Compare
Choose a tag to compare

Documentation updated.

nwg-shell-config 0.5.31

09 Jan 01:46
Compare
Choose a tag to compare

Added support for nwg-clipman.

nwg-shell-config 0.5.30

04 Jan 00:46
Compare
Choose a tag to compare
  • fixed #68;
  • gtklock removed from Hyprland-related settings, as it no longer works on Hyprland.

nwg-shell-config 0.5.29

04 Dec 23:39
Compare
Choose a tag to compare
  • update indicator: added support for Venom Linux.

nwg-shell-config 0.5.28

27 Nov 00:26
4766c77
Compare
Choose a tag to compare
  • Added a combo to bind nwg-drawer to an output.

2023-11-27-011923_hypr_screenshot

nwg-shell-config 0.5.27

26 Nov 01:46
bf1370f
Compare
Choose a tag to compare
  • Application drawer -> profile: added a check button to bind the SUPER key release to the $launcher command.

image

nwg-shell-config 0.5.26

21 Nov 23:49
Compare
Choose a tag to compare
  • Update indicator allowed to work w/o baph installed; #63 by @rb-andrade.

(You need yay, if so)