From b1737a959096ce1946babcc507a327a6d41801bb Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 2 Sep 2024 19:19:50 -0700 Subject: [PATCH] feat: switch to floorp for aarch instead of librewolf --- users/youwen/linux/hyprland/common.nix | 4 +++- users/youwen/linux/packages/aarch-64/default.nix | 3 ++- users/youwen/linux/programs/default.nix | 11 ----------- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index 55a3534..516db71 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -121,7 +121,7 @@ ",XF86AudioRewind, exec, playerctl previous" ] ++ ( - if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, librewolf" ] + if pkgs.system != "aarch64-linux" then [ "$mod, F, exec, zen" ] else [ "$mod, F, exec, floorp" ] ); bindm = [ "$mod, mouse:272, movewindow" @@ -142,6 +142,7 @@ ]; windowrulev2 = [ "opacity 0.90 0.90,class:^(librewolf)$" + "opacity 0.90 0.90,class:^(floorp)$" "opacity 0.90 0.90,class:^(zen-alpha)$" "opacity 0.90 0.90,class:^(Brave-browser)$" "opacity 0.80 0.80,class:^(Steam)$" @@ -192,6 +193,7 @@ "float,class:^(org.kde.dolphin)$,title:^(Copying — Dolphin)$" "float,title:^(Picture-in-Picture)$" "float,class:^(librewolf)$,title:^(Library)$" + "float,class:^(floorp)$,title:^(Library)$" "float,class:^(zen-alpha)$,title:^(Library)$" "float,title:^(Extension: (Bitwarden Password Manager))$" "float,class:^(vlc)$" diff --git a/users/youwen/linux/packages/aarch-64/default.nix b/users/youwen/linux/packages/aarch-64/default.nix index a56dd58..50cc6a8 100644 --- a/users/youwen/linux/packages/aarch-64/default.nix +++ b/users/youwen/linux/packages/aarch-64/default.nix @@ -3,5 +3,6 @@ let createCommon = import ../common-packages.nix; in { - home.packages = (createCommon pkgs) ++ [ ]; + home.packages = (createCommon pkgs) ++ (with pkgs; [ floorp ]); + } diff --git a/users/youwen/linux/programs/default.nix b/users/youwen/linux/programs/default.nix index 4024ea0..7412050 100644 --- a/users/youwen/linux/programs/default.nix +++ b/users/youwen/linux/programs/default.nix @@ -27,17 +27,6 @@ }; }; - programs.librewolf = { - enable = true; - settings = { - "webgl.disabled" = false; - "privacy.resistFingerprinting" = false; - "privacy.clearOnShutdown.history" = false; - "privacy.clearOnShutdown.cookies" = false; - "network.cookie.lifetimePolicy" = 0; - }; - }; - # programs.firefox = { # enable = true; # # package = pkgs.librewolf;