Switch firefox for chromium with default plugins installed
This commit is contained in:
parent
7eb3b8bcab
commit
68b356d1b4
|
@ -3,7 +3,7 @@
|
||||||
home.username = "elitherl";
|
home.username = "elitherl";
|
||||||
home.homeDirectory = "/home/elitherl";
|
home.homeDirectory = "/home/elitherl";
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
home.packages = [pkgs.microsoft-edge];
|
home.packages = with pkgs; [microsoft-edge zotero];
|
||||||
|
|
||||||
programs.fish.functions.nvsync = ''
|
programs.fish.functions.nvsync = ''
|
||||||
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
|
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
bind = SUPER, Return, exec, wezterm
|
bind = SUPER, Return, exec, wezterm
|
||||||
bind = SUPER SHIFT, Return, exec, foot
|
|
||||||
bind = SUPER, Q, killactive,
|
bind = SUPER, Q, killactive,
|
||||||
bind = SUPER, E, exec, power-profiles
|
bind = SUPER, E, exec, power-profiles
|
||||||
bind = SUPER, P, exec, powermenu
|
bind = SUPER, P, exec, powermenu
|
||||||
|
@ -8,7 +7,7 @@ bind = SUPER, V, togglefloating,
|
||||||
bind = SUPER, Space, exec, rofi -show drun
|
bind = SUPER, Space, exec, rofi -show drun
|
||||||
bind = SUPER, S, exec, grim -g "$(slurp)"
|
bind = SUPER, S, exec, grim -g "$(slurp)"
|
||||||
bind = SUPER, F1, exec, swaylock
|
bind = SUPER, F1, exec, swaylock
|
||||||
bind = SUPER, W, exec, firefox
|
bind = SUPER, W, exec, chromium
|
||||||
bind = SUPER, F, exec, thunar
|
bind = SUPER, F, exec, thunar
|
||||||
bind = SUPER, M, fullscreen, 1
|
bind = SUPER, M, fullscreen, 1
|
||||||
bind = SUPER, A, bringactivetotop
|
bind = SUPER, A, bringactivetotop
|
||||||
|
|
|
@ -9,8 +9,6 @@ windowrule = center, ^(pavucontrol)$
|
||||||
windowrule = center, ^(.blueman-manager-wrapped)$
|
windowrule = center, ^(.blueman-manager-wrapped)$
|
||||||
windowrule = move 2% 6%, ^(otpclient)$
|
windowrule = move 2% 6%, ^(otpclient)$
|
||||||
|
|
||||||
windowrule = workspace 2 silent, ^(firefox)$
|
windowrule = workspace 2, ^(chromium-browser)$
|
||||||
windowrule = workspace 3 silent, ^(thunar|libreoffice).*$
|
windowrule = workspace 3, ^(thunar|libreoffice).*$
|
||||||
windowrule = workspace 4 silent, ^(Element|Signal|discord)$
|
windowrule = workspace 4 silent, ^(Element|Signal|discord)$
|
||||||
|
|
||||||
windowrule = monitor 1, ^(firefox)$
|
|
||||||
|
|
|
@ -151,7 +151,7 @@
|
||||||
"format": "{name}:{icon}",
|
"format": "{name}:{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "",
|
"1": "",
|
||||||
"2": "",
|
"2": "",
|
||||||
"3": "",
|
"3": "",
|
||||||
"4": "",
|
"4": "",
|
||||||
"urgent": "",
|
"urgent": "",
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
"format": "{name}:{icon}",
|
"format": "{name}:{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "",
|
"1": "",
|
||||||
"2": "",
|
"2": "",
|
||||||
"3": "",
|
"3": "",
|
||||||
"4": "",
|
"4": "",
|
||||||
"urgent": "",
|
"urgent": "",
|
||||||
|
|
21
home/gui/chromium.nix
Normal file
21
home/gui/chromium.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
cfg = config.wayland.windowManager.hyprland;
|
||||||
|
in {
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
extensions = [
|
||||||
|
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
|
||||||
|
{id = "fnaicdffflnofjppbagibeoednhnbjhg";} # Floccus
|
||||||
|
{id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden
|
||||||
|
{id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin
|
||||||
|
];
|
||||||
|
commandLineArgs = lib.mkIf cfg.enable [
|
||||||
|
"--enable-features=UseOzonePlatform"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,10 +1 @@
|
||||||
{pkgs, ...}: {
|
{...}: {imports = [./chromium.nix ./wezterm.nix];}
|
||||||
imports = [./wezterm.nix];
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
bitwarden
|
|
||||||
marktext
|
|
||||||
signal-desktop
|
|
||||||
zotero
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
./ssh/personal.nix
|
./ssh/personal.nix
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
signal-desktop
|
||||||
discord
|
discord
|
||||||
element-desktop
|
element-desktop
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
|
Loading…
Reference in a new issue