removed
This commit is contained in:
parent
ffbf9e08f2
commit
57bbe33fbf
6 changed files with 16 additions and 303 deletions
|
|
@ -138,8 +138,7 @@
|
|||
hostPlatform = system;
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
ollama = unstablePkgs.ollama-cuda;
|
||||
#rpcs3 = unstablePkgs.rpcs3;
|
||||
rpcs3 = unstablePkgs.rpcs3;
|
||||
quickshell = unstable.legacyPackages.${system}.quickshell;
|
||||
ghostty = inputs.ghostty.packages.${system}.default;
|
||||
hu-tao-animated-cursor = inputs.hu-tao-cursor.packages.${system}.default;
|
||||
|
|
|
|||
|
|
@ -1,286 +0,0 @@
|
|||
{
|
||||
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,
|
||||
# )
|
||||
#'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.bambu-studio];
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.hyprspace];
|
||||
}
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
in {
|
||||
home.packages = with pkgs; [
|
||||
mpv
|
||||
mpvpaper
|
||||
mpvScripts.thumbfast
|
||||
];
|
||||
home.file.".config/mpv/mpv.conf".text = ''
|
||||
|
|
|
|||
|
|
@ -109,19 +109,24 @@ stdenvNoCC.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/{opt/thorium,bin,share/{applications,icons}}
|
||||
mkdir -p $out/{opt/thorium,bin,share/{applications,icons/hicolor/256x256/apps}}
|
||||
cp -r $(find opt -type d -name thorium | head -1)/* $out/opt/thorium/
|
||||
rm -f $out/opt/thorium/libqt{5,6}_shim.so
|
||||
ln -sf $out/opt/thorium/thorium $out/bin/thorium
|
||||
ln -sf $out/bin/thorium $out/bin/thorium-browser
|
||||
[ -f usr/share/applications/thorium*.desktop ] && sed -E \
|
||||
-e "s|^Exec=.*|Exec=$out/bin/thorium %U|" \
|
||||
-e "s|^Icon=.*|Icon=thorium|" \
|
||||
usr/share/applications/thorium*.desktop > $out/share/applications/thorium.desktop
|
||||
[ -d usr/share/icons ] && cp -r usr/share/icons/* $out/share/icons/
|
||||
[ -d usr/share/pixmaps ] && cp -r usr/share/pixmaps/* $out/share/icons/
|
||||
[ ! -d "$out/share/icons/hicolor" ] && mkdir -p $out/share/icons/hicolor/256x256/apps && \
|
||||
find $out/opt/thorium -name "product_logo_*.png" -exec cp {} $out/share/icons/hicolor/256x256/apps/thorium.png \; -quit
|
||||
if [ -f usr/share/applications/thorium*.desktop ]; then
|
||||
sed -E \
|
||||
-e "s|^Exec=.*|Exec=$out/bin/thorium %U|" \
|
||||
-e "s|^Icon=.*|Icon=thorium|" \
|
||||
usr/share/applications/thorium*.desktop > $out/share/applications/thorium.desktop
|
||||
fi
|
||||
[ -d usr/share/icons ] && cp -r usr/share/icons/* $out/share/icons/ || true
|
||||
[ -d usr/share/pixmaps ] && cp -r usr/share/pixmaps/* $out/share/icons/ || true
|
||||
if [ -f $out/opt/thorium/product_logo_256.png ]; then
|
||||
cp $out/opt/thorium/product_logo_256.png $out/share/icons/hicolor/256x256/apps/thorium.png
|
||||
elif [ -f $out/opt/thorium/thorium.png ]; then
|
||||
cp $out/opt/thorium/thorium.png $out/share/icons/hicolor/256x256/apps/thorium.png
|
||||
fi
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue