switched to librewolf

This commit is contained in:
Gabriella Bere 2025-06-27 13:49:29 +01:00
parent 616ccc8357
commit 28adf3c6cb
4 changed files with 20 additions and 20 deletions

View file

@ -18,7 +18,7 @@
./git.nix
./stylix.nix
./direnv.nix
./floorp.nix
./librewolf.nix
./zellij.nix
./obs-studio.nix
./packages.nix
@ -29,7 +29,7 @@
services.gnome-keyring.enable = true; # used for nextcloud-client
home.sessionVariables = {
DEFAULT_BROWSER = "${lib.getExe pkgs.floorp}";
DEFAULT_BROWSER = "${lib.getExe pkgs.librewolf}";
# Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf
GDK_SCALE = 1;
XCURSOR_SIZE = 24;
@ -45,11 +45,11 @@
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = "floorp.desktop";
"x-scheme-handler/http" = "floorp.desktop";
"x-scheme-handler/https" = "floorp.desktop";
"x-scheme-handler/about" = "floorp.desktop";
"x-scheme-handler/unknown" = "floorp.desktop";
"text/html" = "librewolf.desktop";
"x-scheme-handler/http" = "librewolf.desktop";
"x-scheme-handler/https" = "librewolf.desktop";
"x-scheme-handler/about" = "librewolf.desktop";
"x-scheme-handler/unknown" = "librewolf.desktop";
};
};

View file

@ -21,14 +21,14 @@
"name:main, monitor:eDP-2, default:true, persistent:true"
];
windowrulev2 = [
"keepaspectratio,class:^(floorp)$,title:^(Picture-in-Picture)$"
"noborder,class:^(floorp)$,title:^(Picture-in-Picture)$"
#"fakefullscreen,class:^(floorp)$,title:^(Floorp)$"
#"fakefullscreen,class:^(floorp)$,title:^(Picture-in-Picture)$"
"pin,class:^(floorp)$,title:^(Floorp)$"
"pin,class:^(floorp)$,title:^(Picture-in-Picture)$"
"float,class:^(floorp)$,title:^(Floorp)$"
"float,class:^(floorp)$,title:^(Picture-in-Picture)$"
"keepaspectratio,class:^(librewolf)$,title:^(Picture-in-Picture)$"
"noborder,class:^(librewolf)$,title:^(Picture-in-Picture)$"
#"fakefullscreen,class:^(librewolf)$,title:^(Floorp)$"
#"fakefullscreen,class:^(librewolf)$,title:^(Picture-in-Picture)$"
"pin,class:^(librewolf)$,title:^(Floorp)$"
"pin,class:^(librewolf)$,title:^(Picture-in-Picture)$"
"float,class:^(librewolf)$,title:^(Floorp)$"
"float,class:^(librewolf)$,title:^(Picture-in-Picture)$"
];
# Define SUPER key as mod key
@ -55,10 +55,10 @@
exec-once = [
"[workspace name:comms silent; move -100%,100%] telegram-desktop"
"[workspace name:comms silent; move -100%,-100%] signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland"
"[workspace name:comms silent; move 100%,100%] floorp https://web.whatsapp.com https://instagram.com"
"[workspace name:comms silent; move 100%,100%] librewolf https://web.whatsapp.com https://instagram.com"
"[workspace name:comms silent; move 100%,-100%] vesktop"
"[workspace name:bg_noise] floorp https://www.youtube.com/playlist?list=WL"
"[workspace name:bg_noise] librewolf https://www.youtube.com/playlist?list=WL"
"[workspace name:main] alacritty"
@ -73,7 +73,7 @@
# Keybind for setting fullscreen
"$mod, F11, fullscreen"
# Keybinds for starting programs
"$mod, F, exec, floorp"
"$mod, F, exec, librewolf"
"$mod, 1, exec, alacritty"
"$mod, D, exec, vesktop"
"$mod, space, exec, bash -c 'wofi --show drun, run'"

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
{
programs.floorp = {
programs.librewolf = {
enable = true;
profiles.blue = {
isDefault = true;

View file

@ -32,7 +32,7 @@
};
polarity = "dark";
targets = {
floorp.profileNames = [ "blue" ];
librewolf.profileNames = [ "blue" ];
};
};
}