revisions

This commit is contained in:
alsaiduq-lab 2025-10-07 00:52:19 -06:00
parent 005950d9ea
commit 08417f2299
21 changed files with 474 additions and 177 deletions

View file

@ -7,12 +7,12 @@
...
}: {
imports = [
../settings.nix
./init.nix
./modules/fish.nix
./modules/ghostty.nix
./modules/lazygit.nix
./modules/nvim.nix
./modules/rofi.nix
./modules/starship.nix
./modules/zellij.nix
./modules/ffmpeg.nix
@ -22,23 +22,24 @@
./modules/spotify.nix
./modules/obs.nix
./modules/mpv.nix
./modules/waybar.nix
./modules/ani-cli.nix
./modules/quickshell.nix
# currently broken
# ./modules/hyprspace.nix
./modules/hyprspace.nix
./modules/cava.nix
./modules/matugen.nix
./modules/rgb.nix
./modules/anyrun.nix
];
home.username = "cobray";
home.homeDirectory = "/home/cobray";
home.username = "${config.theme.user}";
home.homeDirectory = "/home/${config.theme.user}";
home.stateVersion = "24.11";
programs.home-manager.enable = true;
home.enableNixpkgsReleaseCheck = false;
xdg.mime.enable = false;
# TODO: move these somewhere else; undecided
home.packages = with pkgs; [
btop
nvtopPackages.full

View file

@ -0,0 +1,286 @@
{
config,
pkgs,
...
}: {
programs.anyrun = {
enable = true;
config = {
x = {fraction = 0.5;};
y = {fraction = 0.3;};
width = {absolute = 600;};
height = {absolute = 0;};
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = true;
showResultsImmediately = false;
maxEntries = 8;
plugins = [
"${pkgs.anyrun}/lib/libapplications.so"
"${pkgs.anyrun}/lib/libdictionary.so"
"${pkgs.anyrun}/lib/libkidex.so"
"${pkgs.anyrun}/lib/librandr.so"
"${pkgs.anyrun}/lib/librink.so"
"${pkgs.anyrun}/lib/libshell.so"
"${pkgs.anyrun}/lib/libstdin.so"
"${pkgs.anyrun}/lib/libsymbols.so"
"${pkgs.anyrun}/lib/libtranslate.so"
"${pkgs.anyrun}/lib/libwebsearch.so"
];
};
extraCss = ''
* {
all: unset;
font-family: "Clear Sans", monospace;
font-size: 12px;
}
#window {
background: transparent;
}
#main {
background-color: rgba(30, 32, 48, 0.95);
border: 2px solid #82aaff;
border-radius: 16px;
padding: 8px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
#entry {
background-color: transparent;
color: #c8d3f5;
padding: 12px 16px;
border-radius: 8px;
margin: 4px 0;
transition: all 0.2s ease;
}
#entry:selected {
background-color: #2f334d;
border-left: 3px solid #82aaff;
}
#entry:hover {
background-color: rgba(47, 51, 77, 0.5);
}
#entry #match {
color: #c8d3f5;
padding: 4px;
}
#entry #match:selected {
color: #82aaff;
font-weight: bold;
}
box#main entry {
color: #828bb8;
}
box#main entry:selected {
color: #86e1fc;
}
#plugin {
color: #86e1fc;
font-weight: bold;
padding: 8px 16px;
margin-top: 4px;
border-top: 1px solid rgba(130, 170, 255, 0.3);
}
#match-desc {
color: #828bb8;
font-size: 12px;
opacity: 0.8;
}
list#main {
padding: 8px;
}
scrollbar {
background-color: transparent;
}
scrollbar slider {
background-color: #2f334d;
border-radius: 8px;
min-width: 6px;
}
scrollbar slider:hover {
background-color: #82aaff;
}
image {
margin-right: 8px;
opacity: 0.9;
}
'';
extraConfigFiles = {
"websearch.ron".text = ''
Config(
prefix: "?",
engines: [Custom]
)
Custom(
name: "searxng",
url: "127.0.0.1:11212",
)
'';
"dictionary.ron".text = ''
Config(
prefix: "D ",
max_entries: 5,
)
'';
"translate.ron".text = ''
Config(
prefix: "T ",
language_delimiter: ">",
max_entries: 5,
)
'';
"symbols.ron".text = ''
Config(
prefix: "S ",
symbols: {
"alpha": "α",
"beta": "β",
"gamma": "γ",
"delta": "δ",
"epsilon": "ε",
"lambda": "λ",
"mu": "μ",
"pi": "π",
"sigma": "σ",
"omega": "ω",
"check": "",
"cross": "",
"star": "",
"heart": "",
"shrug": "¯\\_()_/¯",
"jhha": "",
"jhhe": "",
"jhwo": "",
"jhn": "",
"jhka": "",
"jhki": "",
"jhku": "",
"jhke": "",
"jhko": "",
"jhsa": "",
"jhshi": "",
"jhsu": "",
"jhse": "",
"jhso": "",
"jhta": "",
"jhchi": "",
"jhtsu": "",
"jhte": "",
"jhto": "",
"jhna": "",
"jhni": "",
"jhnu": "",
"jhne": "",
"jhno": "",
"jhma": "",
"jhmi": "",
"jhmu": "",
"jhme": "",
"jhmo": "",
"jhya": "",
"jhyu": "",
"jhyo": "",
"jhra": "",
"jhri": "",
"jhru": "",
"jhre": "",
"jhro": "",
"jhwa": "",
"jkha": "",
"jkhe": "",
"jkwo": "",
"jkn": "",
"jkka": "",
"jkki": "",
"jkku": "",
"jkku": "",
"jkko": "",
"jksa": "",
"jkshi": "",
"jksu": "",
"jkse": "",
"jkso": "",
"jkta": "",
"jkchi": "",
"jktsu": "",
"jkte": "",
"jkto": "",
"ichiK": "",
"niK": "",
"sanK": "",
"yonK": "",
"goK": "",
"rokuK": "",
"nanaK": "",
"hachi": "",
"kyuu": "",
"jyuu": "",
"hyaku": "",
"senK": "",
"manK": "",
"j~": "",
"j,": "",
"j.": "",
},
max_entries: 5,
)
'';
"shell.ron".text = ''
Config(
prefix: "SH ",
shell: Some("${config.theme.Shell}"),
)
'';
"randr.ron".text = ''
Config(
prefix: ":randr",
max_entries: 5,
)
'';
"applications.ron".text = ''
Config(
desktop_actions: false,
max_entries: 10,
terminal: Some("${config.theme.Terminal}"),
)
'';
# cant get this to work for some reason
#"nix-run.ron".text = ''
# Config(
# prefix: ":nr",
# allow_unfree: true,
# channel: "nixpkgs-unstable",
# max_entries: 5,
# )
#'';
};
};
}

View file

@ -5,5 +5,6 @@
retroarch
waydroid
rpcs3
input-remapper
];
}

View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
home.packages = [
pkgs.ffmpeg
home.packages = with pkgs; [
ffmpeg
wf-recorder
];
}

View file

@ -7,5 +7,6 @@
fd
ugrep
yazi
chafa
];
}

View file

@ -10,12 +10,13 @@
];
programs.ghostty = {
# TODO: figure another way to do this
enable = true;
enableFishIntegration = true;
settings = {
command = "${pkgs.fish}/bin/fish --login --interactive";
font-family = "0xProto Nerd Font";
font-family = "${config.theme.TerminalFont}";
font-size = 12;
theme = "TokyoNight Storm";
window-padding-x = 10;

View file

@ -1,5 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
rofi
];
}