config/qtile: pull firefox main program from config

This commit is contained in:
Infinidoge 2024-02-14 16:59:44 -05:00
parent 91a29faaa7
commit 641a4702fe
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
2 changed files with 3 additions and 2 deletions

View file

@ -38,6 +38,7 @@ with lib;
sha256 = "sha256-3oVx9k+IN8GI8EWx3kPiQWdPGSO645abrEIL8C6sNq8=";
};
wallpaper_mode = "fill";
firefox = config.programs.firefox.package.meta.mainProgram;
};
"blugon".source = ./blugon;

View file

@ -406,12 +406,12 @@ keys = [
),
Key(
[Keys.SUPER, Keys.ALT], "f",
lazy.spawn("firefox --new-window"),
lazy.spawn("@firefox@ --new-window"),
desc="Start Firefox (New Window)",
),
Key(
[Keys.SUPER, Keys.ALT, Keys.CONTROL], "f",
lazy.spawn("firefox --private-window"),
lazy.spawn("@firefox@ --private-window"),
desc="Start Firefox (New Private Window)",
),
Key(