diff --git a/SwarselSystems.org b/SwarselSystems.org index 63137b1..0dd813a 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -9378,7 +9378,7 @@ Currently, I am too lazy to explain every option here, but most of it is very se lib.recursiveUpdate { "${modifier}+q" = "kill"; - "${modifier}+f" = "exec firefox -p cl_adm"; + "${modifier}+f" = "exec firefox"; "${modifier}+Shift+f" = "exec swaymsg fullscreen"; "${modifier}+Space" = "exec fuzzel"; "${modifier}+Shift+Space" = "floating toggle"; @@ -9816,11 +9816,6 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]] id = 3; <> }; - # i need this profile because xdg-open uses cl_adm profile no matter what i do - cl_adm_real = { - id = 4; - <> - }; }; }; @@ -9871,18 +9866,12 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]] }; firefox_cl = { - name = "Firefox (Main)"; + name = "Firefox (cl_adm)"; genericName = "Firefox cl"; exec = "firefox -p cl_adm"; inherit terminal categories icon; }; - firefox_cl_real = { - name = "Firefox (cl_adm)"; - genericName = "Firefox"; - exec = "firefox -p cl_adm_real"; - inherit terminal categories icon; - }; }; }; diff --git a/profiles/common/home/sway.nix b/profiles/common/home/sway.nix index f188bf1..8dcdc21 100644 --- a/profiles/common/home/sway.nix +++ b/profiles/common/home/sway.nix @@ -34,7 +34,7 @@ in lib.recursiveUpdate { "${modifier}+q" = "kill"; - "${modifier}+f" = "exec firefox -p cl_adm"; + "${modifier}+f" = "exec firefox"; "${modifier}+Shift+f" = "exec swaymsg fullscreen"; "${modifier}+Space" = "exec fuzzel"; "${modifier}+Shift+Space" = "floating toggle"; diff --git a/profiles/optional/home/work.nix b/profiles/optional/home/work.nix index 07bfbe4..a464173 100644 --- a/profiles/optional/home/work.nix +++ b/profiles/optional/home/work.nix @@ -286,84 +286,6 @@ search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart }; - # i need this profile because xdg-open uses cl_adm profile no matter what i do - cl_adm_real = { - id = 4; - - isDefault = false; - userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css; - extensions = with pkgs.nur.repos.rycee.firefox-addons; [ - tridactyl - browserpass - clearurls - darkreader - enhancer-for-youtube - istilldontcareaboutcookies - translate-web-pages - ublock-origin - reddit-enhancement-suite - sponsorblock - web-archives - onepassword-password-manager - single-file - widegithub - enhanced-github - unpaywall - don-t-fuck-with-paste - plasma-integration - ]; - - search.engines = { - "Nix Packages" = { - urls = [{ - template = "https://search.nixos.org/packages"; - params = [ - { name = "type"; value = "packages"; } - { name = "query"; value = "{searchTerms}"; } - ]; - }]; - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = [ "@np" ]; - }; - - "NixOS Wiki" = { - urls = [{ - template = "https://nixos.wiki/index.php?search={searchTerms}"; - }]; - iconUpdateURL = "https://nixos.wiki/favicon.png"; - updateInterval = 24 * 60 * 60 * 1000; # every day - definedAliases = [ "@nw" ]; - }; - - "NixOS Options" = { - urls = [{ - template = "https://search.nixos.org/options"; - params = [ - { name = "query"; value = "{searchTerms}"; } - ]; - }]; - - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = [ "@no" ]; - }; - - "Home Manager Options" = { - urls = [{ - template = "https://home-manager-options.extranix.com/"; - params = [ - { name = "query"; value = "{searchTerms}"; } - ]; - }]; - - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = [ "@hm" "@ho" "@hmo" ]; - }; - - "Google".metaData.alias = "@g"; - }; - search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart - - }; }; }; @@ -414,18 +336,12 @@ }; firefox_cl = { - name = "Firefox (Main)"; + name = "Firefox (cl_adm)"; genericName = "Firefox cl"; exec = "firefox -p cl_adm"; inherit terminal categories icon; }; - firefox_cl_real = { - name = "Firefox (cl_adm)"; - genericName = "Firefox"; - exec = "firefox -p cl_adm_real"; - inherit terminal categories icon; - }; }; };