apply initial gtk settings on first run

This commit is contained in:
piotr 2022-05-07 03:18:02 +02:00
parent e488f18b60
commit 3c197c5e45
2 changed files with 1 additions and 7 deletions

View File

@ -327,13 +327,6 @@ def main():
for item in ["nwg-look"]:
copy_from_skel(item, folder="data", skip_confirmation=args.all)
# Use nwg-look to apply default GTK settings
if not os.path.isfile(os.path.join(data_home, "nwg-look/gsettings")):
print("\nApplying default GTK settings. Run 'nwg-look' utility to set your preferences.")
print("You'll find it in the 'Controls' menu as 'GTK settings'.")
copy_from_skel("nwg-look", folder="data", skip_confirmation=True)
launch("nwg-look -a")
print("\n\nThat's all. You may run sway now.\n")
shell_data = {"last-upgrade": __version__}

View File

@ -4,4 +4,5 @@ exec_always autotiling
exec_always nwg-drawer -r -s preset-0.css -term foot
exec_always nwg-panel -c preset-0 -s preset-0.css
exec_always nwg-shell-check-updates
exec nwg-look -a
exec nwg-shell-config