2d520f5e40
- made working environment variables manager From previous commits: - renamed `ToastError` trait to `Toast`; renamed its `toast_error` method to `toast`; now `toast` method will not display button if toast's message is empty - updated `game::run` function, now it prints running command and supports `gamemoderun` - added automatic `DXVK_ASYNC=1` setting for dxvk-async
33 lines
606 B
Text
33 lines
606 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Adw.PreferencesPage page {
|
|
Adw.PreferencesGroup {
|
|
title: "New variable";
|
|
|
|
Gtk.Box {
|
|
orientation: horizontal;
|
|
spacing: 8;
|
|
|
|
Gtk.Entry name {
|
|
placeholder-text: "Name";
|
|
}
|
|
|
|
Gtk.Entry value {
|
|
placeholder-text: "Value";
|
|
hexpand: true;
|
|
}
|
|
}
|
|
|
|
Gtk.Button add {
|
|
label: "Add";
|
|
|
|
margin-top: 8;
|
|
halign: start;
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup variables {
|
|
title: "Variables";
|
|
}
|
|
}
|