aly: switched default browser to brave

This commit is contained in:
Aly Raffauf 2024-05-25 23:14:47 -04:00
parent 42ddd6f6f2
commit 08974c98a2

12
aly.nix
View file

@ -17,6 +17,7 @@ in {
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
brave
browsh browsh
curl curl
fractal fractal
@ -36,7 +37,13 @@ in {
alyraffauf = { alyraffauf = {
services.syncthing.enable = false; services.syncthing.enable = false;
desktop = { desktop = {
defaultApps.enable = true; defaultApps = {
enable = true;
webBrowser = {
package = pkgs.brave;
desktop = "brave-browser.desktop";
};
};
hyprland = { hyprland = {
enable = true; enable = true;
hyprpaper.randomWallpaper = false; hyprpaper.randomWallpaper = false;
@ -122,7 +129,7 @@ in {
]; ];
wayland.windowManager.sway.config.assigns = { wayland.windowManager.sway.config.assigns = {
"workspace 1: web" = [{app_id = "firefox";}]; "workspace 1: web" = [{app_id = "firefox";} {app_id = "brave-browser";}];
"workspace 2: code" = [{app_id = "codium-url-handler";}]; "workspace 2: code" = [{app_id = "codium-url-handler";}];
"workspace 3: chat" = [{app_id = "org.gnome.Fractal";} {app_id = "WebCord";}]; "workspace 3: chat" = [{app_id = "org.gnome.Fractal";} {app_id = "WebCord";}];
"workspace 4: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";}]; "workspace 4: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";}];
@ -138,6 +145,7 @@ in {
# windowrulev2 = workspace name:browser,class:(firefox) # windowrulev2 = workspace name:browser,class:(firefox)
windowrulev2 = workspace 1,class:(firefox) windowrulev2 = workspace 1,class:(firefox)
windowrulev2 = workspace 1,class:(brave-browser)
# Workspace - Coding # Workspace - Coding
windowrulev2 = workspace 2,class:(codium-url-handler) windowrulev2 = workspace 2,class:(codium-url-handler)