From 906dcbe711d6c1ab6af51bf2bd5fc9751e42a3d1 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 5 Sep 2023 10:20:32 -0500 Subject: [PATCH] Fix firefox, add some comments --- daniel.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/daniel.nix b/daniel.nix index 9dc9973..212ef73 100644 --- a/daniel.nix +++ b/daniel.nix @@ -170,6 +170,8 @@ set --export --universal SCROTS_PATH $NICE_HOME/img/scrots set --export --universal USER_LOGS_PATH $NICE_HOME/doc/logs + set --export --universal CDPATH $NICE_HOME + for s in $ENV_PATH/*/config.d.fish source $s (dirname $s) end @@ -480,6 +482,7 @@ }; programs.firefox = { + # TODO: enable dark theme by default enable = true; package = (pkgs.firefox.override { extraNativeMessagingHosts = [ pkgs.passff-host ]; }); @@ -503,20 +506,17 @@ ''; userChrome = '' - /* Remove close button */ - .titlebar-buttonbox-container{ display:none } - #webrtcIndicator { - display: none; + display: none; } #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar>.toolbar-items { - opacity: 0; - pointer-events: none; + opacity: 0; + pointer-events: none; } #main-window:not([tabsintitlebar="true"]) #TabsToolbar { - visibility: collapse !important; + visibility: collapse !important; } ''; @@ -531,4 +531,5 @@ # enable = true; # }; # TODO: would be nice to have my sway config declared here instead of symlinked in by dotfiles scripts? # maybe we can share somehow so things for nix-y systems and non-nix-y systems alike + # am I going to _have_ non-nix systems anymore? }