Releases: nwg-piotr/nwg-shell-config
nwg-shell-config 0.5.14
- added combo to choose the dock layer; related to nwg-piotr/nwg-dock-hyprland#12.
nwg-shell-config 0.5.13
This update adds the 'Run with GTK_THEME=' check button to the 'App drawer' tab. If checked, nwg-shell-config will add the -ft
argument to the nwg-drawer command in the ~/.config/hypr/includes.conf
file, e.g.:
exec = nwg-drawer -r -c 6 -is 64 -fscol 2 -s hyprland-0.css -term foot -ft
In result, while running apps, the drawer will add the GTK_THEME=<default-gtk-theme>
environment variable to the command, to make libadwaita/gtk4 apps follow the current theme.
Note: the theme needs to be GTK4-compatible.
Note: nwg-drawer>=0.3.9 required.
nwg-shell-config 0.5.12
Added support for a selection from Hyprland misc
settings.
# MISC SETTINGS
misc {
disable_hyprland_logo = false
vrr = 0
mouse_move_enables_dpms = false
key_press_enables_dpms = false
layers_hog_keyboard_focus = true
focus_on_activate = false
hide_cursor_on_touch = true
mouse_move_focuses_monitor = true
cursor_zoom_factor = 1.0
}
nwg-shell-config 0.5.11
- Hot fix: added missing "dwindle-smart_split" key in default settings.
nwg-shell-config 0.5.10
Added switch for dwindle smart_split (new in Hyprland 0.27.0).
smart_split
allows a more precise control over the window split direction, based on the cursor position. The window is conceptually divided into four triangles, and cursors triangle determines the split direction. This feature also turns on preserve_split
.
nwg-shell-config 0.5.9
- [sway] added missing "dock-startup-delay" default value.
nwg-shell-config 0.5.8
- Fixed notification center reload on Hyprland;
- fixed help window content on Hyprland.
To have Hyprland help fixed, delete the ~/.local/share/nwg-shell-config/help-hyprland.pango
file. It'll be re-created w/ proper content.
nwg-shell-config 0.5.7
Added -s | --save
argument. If set, the program will read current settings, export the ~/.config/hypr/includes.conf
file and die. This is for use with external scripts. See: https://www.reddit.com/r/nwg_shell/comments/14by0by/request_keyboard_layout_switching.
Sample nwg-panel executor:
#!/usr/bin/env python3
# nwg-panel executor to display keyboard layout and switch it with `nwg-shell-config -s` command
# 1. Save anywhere on $PATH as e.g. `kb-layout-hyprland` file.
# 2. Enter `kb-layout-hyprland` in the executor "Script" field.
# 3. Enter `kb-layout-hyprland -s` in the executor "On left clock" field.
import os
import sys
import json
import subprocess
# We need to change the "input-kb_layout" value in the "settings-hyprland" json file.
settings_file = os.path.join(os.getenv("HOME"), ".local/share/nwg-shell-config/settings-hyprland")
def main():
# load settings-hyprland to a dictionary
try:
with open(settings_file, 'r') as f:
settings = json.load(f)
except Exception as e:
print("Error loading json: {}".format(e))
sys.exit(1)
if len(sys.argv) > 1 and sys.argv[1] == "-s": # argument `-s` given
# switch keyboard layout in the dictionary
settings["input-kb_layout"] = "pl" if settings["input-kb_layout"] == "us" else "us"
# save to the json file
with open(settings_file, 'w') as f:
json.dump(settings, f, indent=2, ensure_ascii=True)
# run `nwg-shell-config -s` to export settings to ~/.config/hypr/includes
subprocess.Popen("nwg-shell-config -s", shell=True)
# executor output in 2 lines (icon + text)
print("input-keyboard") # icon name
print(settings["input-kb_layout"]) # current layout
if __name__ == "__main__":
main()
nwg-shell-config 0.5.6
- Help window moved from overlay to the top layer;
- added check box to turn on/off auto-starting
nm-applet --indicator
- see this thread.
nwg-shell-config 0.5.5
Forgotten wlr-randr
dependency mentioned in nwg-shell 0.5.0 update notes.