forked from poz/niksos
fix: delay foot server startup
makes it run correctly now
This commit is contained in:
parent
ef7d5ad034
commit
81c0420411
2 changed files with 94 additions and 1 deletions
|
@ -274,7 +274,7 @@ in {
|
|||
exec-once=[workspace special:rog silent;tile] ${pkgs.asusctl}/bin/rog-control-center
|
||||
exec-once=[workspace special:keepassxc silent;tile] ${pkgs.keepassxc}/bin/keepassxc
|
||||
|
||||
${if config.myOptions.programs.foot.server then "exec-once=${pkgs.systemd}/bin/systemctl --user start foot.service" else ""}
|
||||
${if config.myOptions.programs.foot.server then "exec-once=sleep 0.5 && ${pkgs.systemd}/bin/systemctl --user start foot.service" else ""}
|
||||
exec-once=${hyprland}/bin/hyprctl setcursor Bibata-Modern-Classic 24
|
||||
|
||||
#exec-once=${wl-clipboard}/bin/wl-paste --watch cliphist store
|
||||
|
|
93
modules/gui/schizofox.nix
Normal file
93
modules/gui/schizofox.nix
Normal file
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
config,
|
||||
config',
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: with lib; let
|
||||
cfg = config.myOptions.programs.schizofox;
|
||||
in {
|
||||
options.myOptions.programs.schizofox = {
|
||||
enable = mkEnableOption "enable schizofox";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
imports = [ inputs.schizofox.homeManagerModule ];
|
||||
|
||||
home-manager.users.${config'.username} = {
|
||||
programs.schizofox = {
|
||||
enable = true;
|
||||
theme = {
|
||||
background-darker = "181825";
|
||||
background = "1e1e2e";
|
||||
foreground = "cdd6f4";
|
||||
font = "Lexend";
|
||||
simplefox.enable = true;
|
||||
darkreader.enable = true;
|
||||
extraCss = ''
|
||||
body {
|
||||
color: red !important;
|
||||
}
|
||||
'';
|
||||
};
|
||||
search = {
|
||||
defaultSearchEngine = "Searx";
|
||||
removeEngines = ["Google" "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
|
||||
searxUrl = "https://search.notashelf.dev";
|
||||
searxQuery = "https://search.notashelf.dev/search?q={searchTerms}&categories=general";
|
||||
addEngines = [
|
||||
{
|
||||
Name = "NixOS Packages";
|
||||
Description = "NixOS Unstable package search";
|
||||
Alias = "!np";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "NixOS Options";
|
||||
Description = "NixOS Unstable option search";
|
||||
Alias = "!no";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://search.nixos.org/options?channel=unstable&query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "NixOS Wiki";
|
||||
Description = "NixOS Wiki search";
|
||||
Alias = "!nw";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Home Manager Options";
|
||||
Description = "Home Manager option search";
|
||||
Alias = "!hm";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://mipmip.github.io/home-manager-option-search?query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Arch Wiki";
|
||||
Description = "Arch Wiki search";
|
||||
Alias = "!aw";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://wiki.archlinux.org/index.php?search={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Gentoo Wiki";
|
||||
Description = "Gentoo Wiki search";
|
||||
Alias = "!gw";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://wiki.gentoo.org/index.php?search={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Debian Wiki";
|
||||
Description = "Debian Wiki search";
|
||||
Alias = "!dw";
|
||||
Method = "GET";
|
||||
URLTemplate = "https://wiki.debian.org/FrontPage?action=fullsearch&value={searchTerms}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue