mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
use maple font
This commit is contained in:
parent
1bbdd77d5c
commit
16ab036322
18 changed files with 222 additions and 32 deletions
|
|
@ -11,7 +11,8 @@
|
|||
X-KDE-StartupNotify=false
|
||||
|
||||
[Desktop Action convertToPDF]
|
||||
Name=转换为 PDF
|
||||
Name=Convert to PDF
|
||||
Name[CN]=转换为 PDF
|
||||
Icon=application-pdf
|
||||
Exec=soffice --headless --convert-to pdf "%f" --outdir .
|
||||
'';
|
||||
|
|
|
|||
20
nixcfgs/users/js0ny/programs/miniserve.nix
Normal file
20
nixcfgs/users/js0ny/programs/miniserve.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.miniserve];
|
||||
home.file.".local/share/kio/servicemenus/miniserve.desktop" = {
|
||||
text = ''
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
MimeType=inode/directory
|
||||
Actions=miniserveDir
|
||||
Icon=network-server
|
||||
X-KDE-Priority=TopLevel
|
||||
X-KDE-StartupNotify=false
|
||||
|
||||
[Desktop Action miniserveDir]
|
||||
Name=Map Directory to Port 8080
|
||||
Name[CN]=将目录映射到网上(8080)
|
||||
Icon=network-server
|
||||
Exec=alacritty -t "miniserve" -e miniserve "%f" --port 8080
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue