diff --git a/users/modules/firefox/default.nix b/users/modules/firefox/default.nix index ba8ff9d..0627005 100644 --- a/users/modules/firefox/default.nix +++ b/users/modules/firefox/default.nix @@ -17,6 +17,7 @@ lockPref("privacy.clearOnShutdown.history", false); lockPref("privacy.clearOnShutdown.offlineApps", false); lockPref("privacy.clearOnShutdown.sessions", false); + lockPref("privacy.clearOnShutdown.cookies", false); lockPref("services.sync.engine.passwords", false); ''; extraPolicies = { @@ -48,6 +49,7 @@ ] ++ (with myExtensions; [ catppuccin-mocha-sky + youtube-disable-number-seek ]); profiles = { default = { diff --git a/users/modules/firefox/extensions.json b/users/modules/firefox/extensions.json index 5b72718..177c8b8 100644 --- a/users/modules/firefox/extensions.json +++ b/users/modules/firefox/extensions.json @@ -1,3 +1,4 @@ [ - {"slug":"catppuccin-mocha-sky"} + {"slug":"catppuccin-mocha-sky"}, + {"slug":"youtube-disable-number-seek"} ] diff --git a/users/modules/firefox/extensions.nix b/users/modules/firefox/extensions.nix index 35a4381..25f4e07 100644 --- a/users/modules/firefox/extensions.nix +++ b/users/modules/firefox/extensions.nix @@ -15,4 +15,16 @@ platforms = platforms.all; }; }; + "youtube-disable-number-seek" = buildFirefoxXpiAddon { + pname = "youtube-disable-number-seek"; + version = "1.1"; + addonId = "{963aa3d4-c342-4dfe-872e-76be742d1bea}"; + url = "https://addons.mozilla.org/firefox/downloads/file/3592479/youtube_disable_number_seek-1.1.xpi"; + sha256 = "28075f68438242615cbe857e52c3ae1f661447c7d066d4ef4e5076b44efad07a"; + meta = with lib; { + description = "Disables 0-9 keyboard shortcuts on YouTube which seek to different times on a video."; + license = licenses.mpl20; + platforms = platforms.all; + }; + }; } diff --git a/users/modules/hyprland/default.nix b/users/modules/hyprland/default.nix index 22d9586..2a5bb73 100644 --- a/users/modules/hyprland/default.nix +++ b/users/modules/hyprland/default.nix @@ -24,7 +24,7 @@ wl-copy = "${pkgs.wl-clipboard}/bin/wl-copy"; notify-date = with pkgs; writers.writeBash "notify-date" '' - ${libnotify}/bin/notify-send " $(${coreutils}/bin/date +'%H:%M %d/%m/%Y')" + ${libnotify}/bin/notify-send -t 1000 " $(${coreutils}/bin/date +'%H:%M %d/%m/%Y')" ''; in '' # should be configured per-profile diff --git a/users/modules/wezterm/default.nix b/users/modules/wezterm/default.nix index 21723dd..1656873 100644 --- a/users/modules/wezterm/default.nix +++ b/users/modules/wezterm/default.nix @@ -21,7 +21,8 @@ default_cursor_style = "BlinkingBar", enable_wayland = true, enable_tab_bar = false, - colors = catppuccin + colors = catppuccin, + window_background_opacity = 0.85 } ''; "wezterm/colors/catppuccin.lua".source = builtins.fetchurl { diff --git a/users/patriot/default.nix b/users/patriot/default.nix index bda9536..d317248 100644 --- a/users/patriot/default.nix +++ b/users/patriot/default.nix @@ -182,7 +182,7 @@ in { sessionVariables = nixosConfig.environment.sessionVariables // l.optionalAttrs config.programs.fzf.enable { - FZF_DEFAULT_OPTS = "--color=bg+:#302D41,bg:#1E1E2E,spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD"; + FZF_DEFAULT_OPTS = "--color=spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD"; }; }; programs = {