Remove altAccentColourName and associated uses
Enable no-script-mode by default in NYXT
This commit is contained in:
parent
a9c96b8a06
commit
d2b5a25e93
|
@ -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;
|
||||
|
|
|
@ -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 "π")))
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue