diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 4ee0be1..ff6cdb4 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -68,7 +68,7 @@ ### Misc/Advanced ### dmenu = w -p dunst: - browser = firefox + browser = zen always_run_script = true title = Dunst class = Dunst diff --git a/config/hypr/config/variables.conf b/config/hypr/config/variables.conf index 4934f98..5ee8b38 100644 --- a/config/hypr/config/variables.conf +++ b/config/hypr/config/variables.conf @@ -8,7 +8,7 @@ $mainMod = SUPER $terminal = ghostty $fileManager = nautilus $menu = wofi --show drun -$browser = firefox +$browser = zen # gtk diff --git a/config/qt5ct/qt5ct.conf b/config/qt5ct/qt5ct.conf index f92c0a0..0470849 100644 --- a/config/qt5ct/qt5ct.conf +++ b/config/qt5ct/qt5ct.conf @@ -19,13 +19,13 @@ gui_effects=General, AnimateMenu, AnimateCombo, AnimateTooltip, AnimateToolBox keyboard_scheme=1 menus_have_icons=true show_shortcuts_in_context_menus=true -stylesheets=@Invalid() +stylesheets=/nix/store/wx7z0n8gg3dmdsiq83dfbfak4dh0j0bm-qt5ct-1.9/share/qt5ct/qss/fusion-fixes.qss toolbutton_style=4 underline_shortcut=1 wheel_scroll_lines=3 [SettingsWindow] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3\xbe\0\0\x2\xfb\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x3\xbe\0\0\x2\xfb) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\x1f\0\0\x2\xfb\0\0\0\0\0\0\0\0\0\0\x3\xbf\0\0\x4\x18\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x4\x1f\0\0\x2\xfb) [Troubleshooting] force_raster_widgets=1 diff --git a/config/waybar/modules.json b/config/waybar/modules.json index 97b0403..76482ec 100644 --- a/config/waybar/modules.json +++ b/config/waybar/modules.json @@ -44,11 +44,10 @@ "Sober": "Roblox", "vinegar": "Vinegar", "RobloxStudio": "Roblox Studio", - // "Minecraft NeoForge%*? 1%.2[0-9](%.[0-9]+)?": "Minecraft", "gemini.google.com_/app": "Gemini", "PORTAL 2 - (OpenGL|Vulkan)": "Portal 2", "HALF-LIFE 2 - (OpenGL|Vulkan)": "Half-Life 2", - "(.*) — Firefox( Developer Edition)?": "$1", + "(.*) — (Firefox( Developer Edition)|Zen Browser)?": "$1", "(.*) - Google( Search| meklēšana)?": "$1", "Minecraft NeoForge%*(.+)": "Minecraft" }, diff --git a/flake.lock b/flake.lock index 0a74ed4..6d69594 100644 --- a/flake.lock +++ b/flake.lock @@ -166,6 +166,27 @@ "type": "github" } }, + "home-manager_2": { + "inputs": { + "nixpkgs": [ + "zen-browser", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1743604125, + "narHash": "sha256-ZD61DNbsBt1mQbinAaaEqKaJk2RFo9R/j+eYWeGMx7A=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "180fd43eea296e62ae68e079fcf56aba268b9a1a", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, "hyprcursor": { "inputs": { "hyprlang": [ @@ -682,6 +703,22 @@ "type": "github" } }, + "nixpkgs_5": { + "locked": { + "lastModified": 1743448293, + "narHash": "sha256-bmEPmSjJakAp/JojZRrUvNcDX2R5/nuX6bm+seVaGhs=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "77b584d61ff80b4cef9245829a6f1dfad5afdfa3", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -714,7 +751,8 @@ "hyprsysteminfo": "hyprsysteminfo", "nix-flatpak": "nix-flatpak", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_4", + "zen-browser": "zen-browser" } }, "systems": { @@ -803,6 +841,25 @@ "type": "github" } }, + "zen-browser": { + "inputs": { + "home-manager": "home-manager_2", + "nixpkgs": "nixpkgs_5" + }, + "locked": { + "lastModified": 1748377319, + "narHash": "sha256-X4lsXJaGVvWnsnhPE2GdQX48BGJOyh8VIziIZT99oiM=", + "owner": "0xc000022070", + "repo": "zen-browser-flake", + "rev": "4d69a89a06542fcc0f4ff7d3fa45e49e7ce691f8", + "type": "github" + }, + "original": { + "owner": "0xc000022070", + "repo": "zen-browser-flake", + "type": "github" + } + }, "zig": { "inputs": { "flake-compat": [ diff --git a/flake.nix b/flake.nix index 3a5c068..04a9d32 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,7 @@ hyprsysteminfo.url = "github:hyprwm/hyprsysteminfo"; ghostty.url = "github:ghostty-org/ghostty"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + zen-browser.url = "github:0xc000022070/zen-browser-flake"; home-manager = { url = "github:nix-community/home-manager"; diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index ed0cd5a..c652451 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -196,6 +196,7 @@ imports = [ inputs.catppuccin.homeModules.catppuccin + inputs.zen-browser.homeModules.beta ]; catppuccin = { @@ -205,6 +206,15 @@ gtk.enable = true; }; + programs.zen-browser = { + enable = true; + nativeMessagingHosts = [pkgs.firefoxpwa]; + policies = { + DisableAppUpdate = true; + DisableTelemetry = true; + }; + }; + home.file.".config/fastfetch" = { source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/fastfetch"; recursive = true;