something-broke

This commit is contained in:
Lilith 2024-06-09 23:52:27 +02:00
parent e97713666a
commit 23521dbb2c
Signed by: lilith
GPG key ID: 8712A0F317C37175
12 changed files with 200 additions and 18 deletions

View file

@ -1,4 +1,4 @@
{arkenfox, ...}: {
{ pkgs, arkenfox, ...}: {
imports = [arkenfox.hmModules.arkenfox];
home.file.".mozilla/firefox/ChatGPT/chrome/userChrome.css".text = ''
@ -9,17 +9,55 @@
programs.firefox = {
enable = true;
# nativeMessagingHosts = with pkgs; [
# tridactyl-native
# ];
policies = {
Homepage = {
URL = "https://duckduckgo.com";
StartPage = "homepage";
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableFormHistory = true;
OfferToSaveLogins = false;
PasswordManagerEnabled = false;
DisablePrivateBrowsing = true;
DisableSetDesktopBackground = true;
DisableTelemetry = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
OverrideFirstRunPage = "https://duckduckgo.com";
OverridePostUpdatePage = "https://duckduckgo.com";
NewTabPage = false;
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "never";
SearchBar = "unified";
DownloadDirectory = "/home/spectre/inbox";
SearchSuggestEnabled = false;
DownloadDirectory = "/home/lilith/sync/inbox";
SanitizeOnShutdown = true;
Containers = {
"Default" = [
{
name = "Personal";
icon = "circle";
color = "pink";
}
{
name = "Work";
icon = "briefcase";
color = "green";
}
];
};
ExtensionSettings = {
# uBlock Origin:
@ -43,6 +81,15 @@
installation_mode = "force_installed";
};
};
SearchEngines = {
Default = "DuckDuckGo";
};
Preferences = {
"browser.newtab.extensionControlled" = false;
"browser.translations.neverTranslateLanguages" = true;
};
};
arkenfox.enable = true;

View file

@ -7,8 +7,5 @@
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gtk2;
enableSshSupport = true;
sshKeys = [];
enableExtraSocket = true;
};
}

View file

@ -37,9 +37,9 @@
];
workspace = [
"special:keepass,gapsout:25"
"special:magic,gapsout:25"
"special:chatgpt,gapsout:25"
"special:keepass,gapsout:45"
"special:magic,gapsout:45"
"special:chatgpt,gapsout:45"
];
input = {
@ -108,7 +108,7 @@
bind = [
"$mainMod, Q, exec, $terminal"
"$mainMod, C, killactive,"
"$mainMod, backspace, exec, hyprlock,"
"$mainMod, backspace, exec, hyprlock"
"$mainMod, E, exec, $fileManager"
"$mainMod, O, togglefloating,"
"$mainMod, R, exec, rofi -show drun"

View file

@ -26,7 +26,7 @@
inner_color = "rgb(91, 96, 120)";
outer_color = "rgb(24, 25, 38)";
outline_thickness = 5;
placeholder_text = '\'<span foreground="##cad3f5">Password...</span>'\';
placeholder_text = ''<span foreground="##cad3f5">Password...</span>'';
shadow_passes = 2;
}
];

View file

@ -1,6 +1,114 @@
{pkgs, ...}: {
{pkgs, config, stylix,...}: {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = let
inherit (config.lib.formats.rasi) mkLiteral;
in {
"*" = with config.lib.stylix.colors; {
bg0 = mkLiteral "#${base00}";
bg1 = mkLiteral "#${base01}";
bg2 = mkLiteral "#${base02}";
bg3 = mkLiteral "#${base03}";
fg0 = mkLiteral "#${base08}";
fg1 = mkLiteral "#${base09}";
fg2 = mkLiteral "#${base0A}";
fg3 = mkLiteral "#${base0B}";
font = config.stylix.fonts.sansSerif.name;
background-color = mkLiteral "transparent";
text-color = mkLiteral "@fg0";
margin = mkLiteral "0px";
padding = mkLiteral "0px";
spacing = mkLiteral "0px";
};
window = {
location = mkLiteral "center";
width = mkLiteral "33%";
height = mkLiteral "33%";
border-radius = mkLiteral "24px";
background-color = mkLiteral "@bg0";
};
mainbox = {
padding = mkLiteral "12px";
};
inputbar = {
background-color = mkLiteral "@bg1";
border-color = mkLiteral "@bg3";
border = mkLiteral "2px";
border-radius = mkLiteral "16px";
padding = mkLiteral "8px 16px";
spacing = mkLiteral "8px";
children = map mkLiteral[ "prompt" "entry" ];
};
prompt = {
text-color = mkLiteral "@fg2";
};
entry = {
placeholder = "Search";
placeholder-color = mkLiteral "@fg3";
};
message = {
margin = mkLiteral "12px 0 0";
border-radius = mkLiteral "16px";
border-color = mkLiteral "@bg2";
background-color = mkLiteral "@bg2";
};
textbox = {
padding = mkLiteral "8px 24px";
};
listview = {
background-color = mkLiteral "transparent";
margin = mkLiteral "12px 0 0";
lines = mkLiteral "8";
columns = mkLiteral "1";
fixed-height = mkLiteral "false";
};
element = {
padding = mkLiteral "8px 16px";
spacing = mkLiteral "8px";
border-radius = mkLiteral "16px";
};
"element normal active" = {
text-color = mkLiteral "@bg3";
};
"element selected normal" = {
background-color = mkLiteral "@bg3";
text-color = mkLiteral "@bg1";
};
"element selected active" = {
background-color = mkLiteral "@bg3";
text-color = mkLiteral "@bg1";
};
"element-icon" = {
size = mkLiteral "1em";
vertical-align = mkLiteral "0.5";
};
"element-text" = {
text-color = mkLiteral "inherit";
};
};
};
}

View file

@ -1,2 +1,3 @@
{...}: {
{stylix, ...}: {
stylix.targets.rofi.enable = false;
}