From 99fe60b43c55450551a7e5d64e5cedd93b58ccb6 Mon Sep 17 00:00:00 2001 From: Tomas Rivera <137088692+Totorile1@users.noreply.github.com> Date: Sat, 18 Apr 2026 14:12:26 +0200 Subject: [PATCH] Repaired login cmd in caelestia --- hosts/laptop/home.nix | 2 +- modules/home-manager/caelestia.nix | 2 +- modules/home-manager/hyprland.nix | 4 ++-- modules/home-manager/vivify.nix | 24 ++++++++++++++++++++++++ modules/home-manager/zsh.nix | 2 +- 5 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 modules/home-manager/vivify.nix diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 5ff844f..121153e 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -36,7 +36,7 @@ #../../modules/home-manager/obsidian.nix obsidian was replaced with a custom solution ../../modules/home-manager/thunderbird.nix # email client ../../modules/home-manager/eza.nix # ls replacement - + ../../modules/home-manager/vivify.nix # neovim markdown viewer (has also config for qutebrowser ../../modules/other/desktopEntries.nix # creates .desktop files ]; diff --git a/modules/home-manager/caelestia.nix b/modules/home-manager/caelestia.nix index 358bead..c6ae216 100644 --- a/modules/home-manager/caelestia.nix +++ b/modules/home-manager/caelestia.nix @@ -432,7 +432,7 @@ in { reboot = "cached"; }; commands = { - logout = ["loginctl" "terminate-user"]; + logout = ["hyprctl" "dispatch exit"]; shutdown = ["systemctl" "poweroff"]; hibernate = ["systemctl" "hibernate"]; reboot = ["systemctl" "reboot"]; diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 0c5a733..aa1e21c 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -221,7 +221,7 @@ in { "custom-gitnotify" #"custom-obsidianbackup" # backups the obsidian notes to kdrive and to a timed hidden dir (~/.Notes.backup/) #"QS-notifycache" # builds the cache that will be used for the notification history - "sleep 2 & caelestia-shell" #works better if it sleeps a bit before + "sleep 4 & caelestia-shell" #works better if it sleeps a bit before /* We stopped using that ######################### maybe we should desactivate those scripts # login autostart @@ -235,7 +235,7 @@ in { ###################### */ ]; - + splash = false; # remove default background on startup # gestures (also keybindings) gesture = [ "3, right, move, +col" diff --git a/modules/home-manager/vivify.nix b/modules/home-manager/vivify.nix new file mode 100644 index 0000000..ae19b3b --- /dev/null +++ b/modules/home-manager/vivify.nix @@ -0,0 +1,24 @@ +{ + config, + pkgs, + ... +}: { + home.file.".config/vivify/config.json" = { + enable = true; + text = '' +{ + "browserOptions": { + "name": "qutebrowser", + "arguments": ["-T"] + } + }''; +}; +programs.qutebrowser = { + enable = true; + settings = { + auto_save.session = false; + changelog_after_upgrade = "never"; + content.cookies.accept = "never"; + }; +}; +} diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index 26ed41e..de9bcbc 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -24,7 +24,7 @@ fi } eval "$(direnv hook zsh)" - export PATH="$PATH:$HOME/NoteWrapper/result/bin" # some project im coding + export PATH="$PATH:$HOME/NoteWrapper" # some project im coding fastfetch''\n''; shellAliases = { ".." = "z ..";