diff --git a/flake.nix b/flake.nix index 4a6a3ca..61ca047 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,6 @@ inherit hostname; inherit (plasma-manager.packages.${system}) rc2nix; accentColourName = "base0C"; - altAccentColourName = "base0D"; iosevkaCustom = { packages = iosevka-custom.outputs.packages.${system}; names = iosevka-custom.outputs.names; diff --git a/programs/browser/config.lisp b/programs/browser/config.lisp index 30dc096..09fc385 100644 --- a/programs/browser/config.lisp +++ b/programs/browser/config.lisp @@ -2,7 +2,9 @@ ((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%)) (default-modes - (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%)))) + (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%)) + (default-modes + (pushnew 'nyxt/mode/no-script:no-script-mode %slot-value%)))) (define-configuration status-buffer ((glyph-mode-presentation-p t) @@ -10,6 +12,7 @@ (define-configuration :emacs-mode ((glyph "ε"))) (define-configuration :force-https-mode ((glyph "ϕ"))) +(define-configuration :no-script-mode ((glyph "j"))) (define-configuration :user-script-mode ((glyph "u"))) (define-configuration :blocker-mode ((glyph "β"))) (define-configuration :proxy-mode ((glyph "π"))) diff --git a/programs/browser/nyxt.nix b/programs/browser/nyxt.nix index fa1c6f1..0d441c0 100644 --- a/programs/browser/nyxt.nix +++ b/programs/browser/nyxt.nix @@ -3,7 +3,6 @@ pkgs, fonts, accentColourName, - altAccentColourName, ... }: { home.packages = [pkgs.nyxt]; @@ -22,11 +21,11 @@ :monospace-font-family "${fonts.monospace.name}" :background-color "${sc.base00}" :on-background-color "${sc.base05}" - :primary-color "${sc.${accentColourName}}" - :on-primary-color "${sc.base01}" + :primary-color "${sc.base02}" + :on-primary-color "${sc.base05}" :secondary-color "${sc.base03}" :on-secondary-color "${sc.base05}" - :accent-color "${sc.${altAccentColourName}}" + :accent-color "${sc.${accentColourName}}" :on-accent-color "${sc.base01}" :action-color "${sc.cyan}" :on-action-color "${sc.base01}" diff --git a/programs/desktop/sway/default.nix b/programs/desktop/sway/default.nix index 32761b3..51727ac 100644 --- a/programs/desktop/sway/default.nix +++ b/programs/desktop/sway/default.nix @@ -4,7 +4,6 @@ pkgs, fonts, accentColourName, - altAccentColourName, ... }: { programs.waybar.systemd.target = lib.mkIf config.wayland.windowManager.sway.systemd.enable "sway-session.target"; @@ -51,7 +50,7 @@ colors = let sc = config.scheme.withHashtag; text = toString sc.base05; - indicator = toString sc.${altAccentColourName}; + indicator = toString sc.${accentColourName}; background = toString sc.base00; in { inherit background;