Remove nyxt, set chromium to be default browser

Split chromium workspace into web (for main browser) and apps (for
PWAs)

Update waybar workspace icons, remove "urgent" icon since I've got an
updating theme anyway
This commit is contained in:
Evie Litherland-Smith 2023-11-23 11:50:41 +00:00
parent ae2b894f1f
commit 50fa154a90
4 changed files with 10 additions and 19 deletions

View file

@ -26,7 +26,6 @@
./home/accounts/default.nix ./home/accounts/default.nix
./home/emacs/default.nix ./home/emacs/default.nix
./home/hyprland/default.nix ./home/hyprland/default.nix
./home/nyxt/default.nix
./home/alacritty.nix ./home/alacritty.nix
./home/btop.nix ./home/btop.nix
./home/default.nix ./home/default.nix

View file

@ -179,23 +179,17 @@ in ''
bind = SUPER, W, moveworkspacetomonitor, name:web current bind = SUPER, W, moveworkspacetomonitor, name:web current
bind = SUPER, W, workspace, name:web bind = SUPER, W, workspace, name:web
bind = SUPER SHIFT, W, movetoworkspace, name:web bind = SUPER SHIFT, W, movetoworkspace, name:web
bind = SUPER ALT, W, exec, [workspace name:web] nyxt windowrule = workspace name:web, (chromium-browser)
bind = SUPER, A, moveworkspacetomonitor, name:spotify current
bind = SUPER, A, workspace, name:spotify
bind = SUPER SHIFT, A, movetoworkspace, name:spotify
bind = SUPER ALT, A, exec, [workspace name:spotify] alacritty -e ncspot
bind = SUPER, T, moveworkspacetomonitor, name:top current bind = SUPER, T, moveworkspacetomonitor, name:top current
bind = SUPER, T, workspace, name:top bind = SUPER, T, workspace, name:top
bind = SUPER SHIFT, T, movetoworkspace, name:top bind = SUPER SHIFT, T, movetoworkspace, name:top
bind = SUPER ALT, T, exec, [workspace name:top] alacritty -e btop bind = SUPER ALT, T, exec, [workspace name:top] alacritty -e btop
bind = SUPER, C, moveworkspacetomonitor, name:chromium current bind = SUPER, A, moveworkspacetomonitor, name:apps current
bind = SUPER, C, workspace, name:chromium bind = SUPER, A, workspace, name:apps
bind = SUPER SHIFT, C, movetoworkspace, name:chromium bind = SUPER SHIFT, A, movetoworkspace, name:apps
windowrule = workspace name:chromium, (chromium-browser) windowrule = workspace name:apps, chrome-(.*)-Default
windowrule = workspace name:chromium, chrome-(.*)-Default
bind = SUPER, D, moveworkspacetomonitor, name:discord current bind = SUPER, D, moveworkspacetomonitor, name:discord current
bind = SUPER, D, workspace, name:discord bind = SUPER, D, workspace, name:discord

View file

@ -37,16 +37,14 @@
"5" = "󰫇"; "5" = "󰫇";
"6" = "󰫈"; "6" = "󰫈";
"emacs" = ""; "emacs" = "";
"web" = "󰀹"; "web" = "";
"spotify" = "󰓇";
"discord" = "󰙯"; "discord" = "󰙯";
"steam" = "󰓓"; "steam" = "󰓓";
"chromium" = "󰊯"; "apps" = "󰜫";
"top" = "󰒋"; "top" = "󰒋";
"remote" = "󰢹"; "remote" = "󰢹";
default = "󰋙"; default = "󰋙";
special = "󱗿"; special = "󰁡";
urgent = "󰁡";
}; };
show-special = true; show-special = true;
sort-by = "id"; sort-by = "id";

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ chromium ]; environment.systemPackages = with pkgs; [ chromium ];
@ -12,7 +12,7 @@
]; ];
extraOpts = { extraOpts = {
"BrowserSignin" = 0; "BrowserSignin" = 0;
"DefaultBrowserSettingEnabled" = false; "DefaultBrowserSettingEnabled" = true;
"DeviceAutoUpdateDisabled" = true; "DeviceAutoUpdateDisabled" = true;
"SyncDisabled" = true; "SyncDisabled" = true;
"PasswordManagerEnabled" = false; "PasswordManagerEnabled" = false;