From 47c88c3dfc7cebcd657e57b681a5d9fd18490d1d Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 7 Sep 2025 02:48:49 -0700 Subject: [PATCH] feat: awawa --- home/environments/niri/xdg.nix | 1 + home/profiles/graphical/documents.nix | 1 - home/profiles/graphical/firefox/config.nix | 2 ++ home/profiles/graphical/firefox/main.nix | 2 +- home/profiles/graphical/firefox/yomitan.nix | 9 ++++++++ home/profiles/neovim/default.nix | 5 ----- home/profiles/neovim/init.lua | 24 --------------------- 7 files changed, 13 insertions(+), 31 deletions(-) create mode 100644 home/profiles/graphical/firefox/yomitan.nix diff --git a/home/environments/niri/xdg.nix b/home/environments/niri/xdg.nix index e23456ab..8fcd8bc6 100644 --- a/home/environments/niri/xdg.nix +++ b/home/environments/niri/xdg.nix @@ -13,6 +13,7 @@ enable = true; defaultApplications = { "inode/directory" = "pcmanfm.desktop"; + "text/plain" = "nvim.desktop"; }; }; }; diff --git a/home/profiles/graphical/documents.nix b/home/profiles/graphical/documents.nix index bc842008..9ac7388b 100644 --- a/home/profiles/graphical/documents.nix +++ b/home/profiles/graphical/documents.nix @@ -1,6 +1,5 @@ {pkgs, ...}: { home.packages = with pkgs; [ - calibre pkgs.kdePackages.okular ]; } diff --git a/home/profiles/graphical/firefox/config.nix b/home/profiles/graphical/firefox/config.nix index 55360ed4..f3c93630 100644 --- a/home/profiles/graphical/firefox/config.nix +++ b/home/profiles/graphical/firefox/config.nix @@ -1,5 +1,7 @@ _: { programs.zen-browser.profiles.main.settings = { + "browser.tabs.allow_transparent_browser" = true; + "zen.welcome-screen.seen" = true; "zen.watermark.enabled" = false; "browser.ml.chat.enabled" = false; diff --git a/home/profiles/graphical/firefox/main.nix b/home/profiles/graphical/firefox/main.nix index 3a5a5ed8..70c01b7b 100644 --- a/home/profiles/graphical/firefox/main.nix +++ b/home/profiles/graphical/firefox/main.nix @@ -6,7 +6,7 @@ home.sessionVariables = { BROWSER = "zen"; }; - stylix.targets.zen-browser.profileNames = ["main"]; + #stylix.targets.zen-browser.profileNames = ["main"]; home.packages = [pkgs.ff2mpv-rust]; programs.zen-browser = { nativeMessagingHosts = [ diff --git a/home/profiles/graphical/firefox/yomitan.nix b/home/profiles/graphical/firefox/yomitan.nix new file mode 100644 index 00000000..6493e3ce --- /dev/null +++ b/home/profiles/graphical/firefox/yomitan.nix @@ -0,0 +1,9 @@ +_: { + programs.zen-browser.profiles.main.extensions = { + #settings."{6b733b82-9261-47ee-a595-2dda294a4d08}".settings = { + # options = builtins.toJSON { + # showGuide = false; + # }; + #}; + }; +} diff --git a/home/profiles/neovim/default.nix b/home/profiles/neovim/default.nix index 59410942..12bd993e 100644 --- a/home/profiles/neovim/default.nix +++ b/home/profiles/neovim/default.nix @@ -55,11 +55,6 @@ in { # tree nui-nvim neo-tree-nvim - # hardtime - hardtime-nvim - nvim-notify - # Session management - resession-nvim # obsidian vault support for neovim obsidian-nvim # commentry diff --git a/home/profiles/neovim/init.lua b/home/profiles/neovim/init.lua index b5a6302d..a8d62a3a 100644 --- a/home/profiles/neovim/init.lua +++ b/home/profiles/neovim/init.lua @@ -225,30 +225,6 @@ require('neorg').setup { }, } --- session managemenet - -require("resession").setup({ - autosave = { - enabled = true, - interval = 60, - notify = true, - }, -}) - -vim.api.nvim_create_autocmd("VimLeavePre", { - callback = function() - -- Always save a special session named "last" - resession.save("last") - end, -}) - --- hardtime -vim.notify = require("notify") ---[[require("hardtime").setup({ - disable_mouse = false, - disabled_keys = {}, -})]]-- - -- telescope local telescope = require('telescope.builtin')