dunst changes and start of the work on firefox

This commit is contained in:
jacekpoz 2023-07-20 18:12:42 +02:00
parent 627a2d884d
commit ca698a527c
4 changed files with 72 additions and 13 deletions

View file

@ -94,6 +94,7 @@
networkmanagerapplet
wl-clipboard
wlsunset
xdg-utils
];
stateVersion = lib.mkDefault "23.11";

View file

@ -1,5 +1,6 @@
_: {
imports = [
./firefox
./foot
./gtk
./hypr

View file

@ -0,0 +1,57 @@
{
config,
pkgs,
...
}: {
config = {
programs.firefox = {
enable = true;
profiles = {
schizo = {
id = 1;
isDefault = true;
search = {
engines = {
"SearXNG Sapti" = {
urls = [{ template = "https://search.sapti.me/search?q={searchTerms}"; }];
iconUpdateURL = "https://search.sapti.me/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@sx" ];
};
"NixOS Packages" = {
urls = [{
template = "https://search.nixos.org/packages";
params = [
{ name = "channel"; value = "unstable"; }
{ name = "query"; value = "{searchTerms}"; }
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
}];
};
"NixOS Options" = {
urls = [{
template = "https://search.nixos.org/options";
params = [
{ name = "channel"; value = "unstable"; }
{ name = "query"; value = "{searchTerms}"; }
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@no" ];
}];
};
"NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@nw" ];
};
};
force = true;
};
};
};
};
};
}

View file

@ -1,5 +1,6 @@
{
config,
pkgs,
...
}: {
config = {
@ -26,9 +27,9 @@
separator_height = 2;
padding = 10;
frame_width = 3;
frame_color = "#98971A";
separator_color = "#689D6A";
highlight = "#458588";
frame_color = "#89B4FA";
separator_color = "frame";
highlight = "#89DCEB";
sort = "yes";
font = "JetBrains Mono 12";
line_height = 0;
@ -45,11 +46,10 @@
icon_position = "left";
min_icon_size = 0;
max_icon_size = 32;
icon_path = "/usr/share/icons/Gruvbox-Material-Dark/16x16/status/:/usr/share/icons/Gruvbox-Material-Dark/16x16/devices/";
sticky_history = "yes";
history_length = 20;
dmenu = "/usr/bin/dmenu -p dunst:";
browser = "/usr/bin/xdg-open";
dmenu = "${pkgs.rofi-wayland}/bin/rofi";
browser = "${pkgs.xdg-utils}/bin/xdg-open";
always_run_script = true;
title = "Dunst";
class = "dunst";
@ -65,19 +65,19 @@
per_monitor_dpi = false;
};
urgency_low = {
background = "#3C3836";
foreground = "#EBDBB2";
background = "#1E1E2E";
foreground = "#CDD6F4";
timeout = 5;
};
urgency_normal = {
background = "#7C6F64";
foreground = "#EBDBB2";
background = "#1E1E2E";
foreground = "#CDD6F4";
timeout = 6;
};
urgency_critical = {
background = "#CC241D";
foreground = "#EBDBB2";
frame_color = "#DB4934";
background = "#1E1E2E";
foreground = "#CDD6F4";
frame_color = "#FAB387";
timeout = 0;
};
};