Stylix firefox profile names
This commit is contained in:
parent
5b13d145ad
commit
e657564ef7
4 changed files with 30 additions and 21 deletions
|
|
@ -80,6 +80,12 @@
|
||||||
};
|
};
|
||||||
config = lib.mkIf (config.mods.browser.firefox.enable || config.mods.homePackages.browser == "firefox") (
|
config = lib.mkIf (config.mods.browser.firefox.enable || config.mods.homePackages.browser == "firefox") (
|
||||||
lib.optionalAttrs (options ? programs.firefox.profiles) {
|
lib.optionalAttrs (options ? programs.firefox.profiles) {
|
||||||
|
stylix.targets.firefox.profileNames =
|
||||||
|
map (
|
||||||
|
{name, ...}:
|
||||||
|
name
|
||||||
|
)
|
||||||
|
config.mods.browser.firefox.profiles;
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
policies = config.mods.browser.firefox.configuration;
|
policies = config.mods.browser.firefox.configuration;
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
(lib.mkIf config.mods.gpu.vapi.enable pkgs.libvdpau-va-gl)
|
(lib.mkIf config.mods.gpu.vapi.enable pkgs.libvdpau-va-gl)
|
||||||
(lib.mkIf config.mods.gpu.vapi.enable pkgs.libva)
|
(lib.mkIf config.mods.gpu.vapi.enable pkgs.libva)
|
||||||
(lib.mkIf config.mods.gpu.vapi.enable pkgs.vaapiVdpau)
|
(lib.mkIf config.mods.gpu.vapi.enable pkgs.vaapiVdpau)
|
||||||
(lib.mkIf (config.mods.gpu.intelgpu.enable || config.mods.gpu.amdgpu.enable) pkgs.mesa.drivers)
|
(lib.mkIf (config.mods.gpu.intelgpu.enable || config.mods.gpu.amdgpu.enable) pkgs.mesa)
|
||||||
];
|
];
|
||||||
rocmPackages = [
|
rocmPackages = [
|
||||||
pkgs.rocmPackages.clr.icd
|
pkgs.rocmPackages.clr.icd
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@
|
||||||
hyprland = {
|
hyprland = {
|
||||||
anyrun = {
|
anyrun = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
default = true;
|
default = false;
|
||||||
example = false;
|
example = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
description = "Enables anyrun";
|
description = "Enables anyrun";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -124,8 +124,8 @@ in {
|
||||||
settings =
|
settings =
|
||||||
if config.mods.hyprland.useDefaultConfig
|
if config.mods.hyprland.useDefaultConfig
|
||||||
then
|
then
|
||||||
(
|
lib.mkMerge
|
||||||
lib.recursiveUpdate
|
[
|
||||||
{
|
{
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
|
|
||||||
|
|
@ -148,12 +148,13 @@ in {
|
||||||
"$mod SUPER,T,exec,kitty -1"
|
"$mod SUPER,T,exec,kitty -1"
|
||||||
"$mod SUPER,E,exec,nautilus -w"
|
"$mod SUPER,E,exec,nautilus -w"
|
||||||
"$mod SUPER,N,exec,neovide"
|
"$mod SUPER,N,exec,neovide"
|
||||||
"$mod SUPER,M,exec,oxidash"
|
(lib.mkIf (config.mods.hyprland.anyrun.enable) "$mod SUPER,R,exec,anyrun")
|
||||||
"$mod SUPER,R,exec,anyrun"
|
(lib.mkIf (config.mods.oxi.oxirun.enable) "$mod SUPER,R,exec,oxirun")
|
||||||
"$mod SUPER,G,exec,oxicalc"
|
(lib.mkIf (config.mods.oxi.oxidash.enable) "$mod SUPER,M,exec,oxidash")
|
||||||
"$mod SUPER,D,exec,oxishut"
|
(lib.mkIf (config.mods.oxi.oxicalc.enable) "$mod SUPER,G,exec,oxicalc")
|
||||||
"$mod SUPER,A,exec,oxipaste-iced"
|
(lib.mkIf (config.mods.oxi.oxishut.enable) "$mod SUPER,D,exec,oxishut")
|
||||||
"$mod SUPERSHIFT,P,exec,hyprdock --gui"
|
(lib.mkIf (config.mods.oxi.oxipaste.enable) "$mod SUPER,A,exec,oxipaste-iced")
|
||||||
|
(lib.mkIf (config.mods.oxi.hyprdock.enable) "$mod SUPERSHIFT,P,exec,hyprdock --gui")
|
||||||
"$mod SUPERSHIFT,L,exec, playerctl -a pause & hyprlock & systemctl suspend"
|
"$mod SUPERSHIFT,L,exec, playerctl -a pause & hyprlock & systemctl suspend"
|
||||||
"$mod SUPERSHIFT,K,exec, playerctl -a pause & hyprlock & systemctl hibernate"
|
"$mod SUPERSHIFT,K,exec, playerctl -a pause & hyprlock & systemctl hibernate"
|
||||||
|
|
||||||
|
|
@ -375,18 +376,20 @@ in {
|
||||||
++ config.mods.hyprland.extraAutostart;
|
++ config.mods.hyprland.extraAutostart;
|
||||||
|
|
||||||
plugin =
|
plugin =
|
||||||
lib.recursiveUpdate
|
lib.mkMerge
|
||||||
{
|
[
|
||||||
hyprspace = lib.mkIf config.mods.hyprland.hyprspaceEnable {
|
{
|
||||||
bind = [
|
hyprspace = lib.mkIf config.mods.hyprland.hyprspaceEnable {
|
||||||
"SUPER, W, overview:toggle, toggle"
|
bind = [
|
||||||
];
|
"SUPER, W, overview:toggle, toggle"
|
||||||
};
|
];
|
||||||
}
|
};
|
||||||
config.mods.hyprland.pluginConfig;
|
}
|
||||||
|
config.mods.hyprland.pluginConfig
|
||||||
|
];
|
||||||
}
|
}
|
||||||
config.mods.hyprland.customConfig
|
config.mods.hyprland.customConfig
|
||||||
)
|
]
|
||||||
else lib.mkForce config.mods.hyprland.customConfig;
|
else lib.mkForce config.mods.hyprland.customConfig;
|
||||||
plugins =
|
plugins =
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue