@@ -133,7 +133,7 @@
|
||||
|
||||
programs.zsh.loginExtra = lib.mkAfter ''
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
hyprland &> /tmp/hyprland.log
|
||||
Hyprland &> /tmp/hyprland.log
|
||||
fi
|
||||
'';
|
||||
|
||||
|
@@ -9,14 +9,6 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
qalculate-gtk = prev.qalculate-gtk.overrideAttrs (oldAttrs: {
|
||||
patches = oldAttrs.patches or [ ] ++ [ ./skip-save-prefs.patch ];
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
environment.persistence."/cache"."${home}/.config/qalculate/qalculate-gtk.history" = { };
|
||||
|
||||
home-manager.users.${user} = {
|
||||
|
@@ -1,12 +0,0 @@
|
||||
diff --git a/src/callbacks.cc b/src/callbacks.cc
|
||||
index 14ab38a..5f73451 100644
|
||||
--- a/src/callbacks.cc
|
||||
+++ b/src/callbacks.cc
|
||||
@@ -23405,6 +23405,7 @@ bool save_history(bool allow_cancel) {
|
||||
*/
|
||||
|
||||
bool save_preferences(bool mode, bool allow_cancel) {
|
||||
+ return true;
|
||||
|
||||
FILE *file = NULL;
|
||||
string homedir = getLocalDir();
|
Reference in New Issue
Block a user