mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 18:52:43 +00:00
dot(magic): Add libmagic definitions
This commit is contained in:
parent
695f5861e8
commit
e15d9c76e8
5 changed files with 179 additions and 27 deletions
|
|
@ -84,6 +84,21 @@
|
|||
}
|
||||
];
|
||||
|
||||
open-floating = true;
|
||||
default-floating-position = {
|
||||
x = 50;
|
||||
y = 50;
|
||||
relative-to = "bottom-right";
|
||||
};
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
app-id = "^org.gnome.Loupe$";
|
||||
}
|
||||
];
|
||||
|
||||
open-floating = true;
|
||||
default-floating-position = {
|
||||
x = 50;
|
||||
y = 50;
|
||||
|
|
|
|||
33
nixcfgs/users/js0ny/programs/libmagic.nix
Normal file
33
nixcfgs/users/js0ny/programs/libmagic.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{...}: {
|
||||
home.file.".magic" = {
|
||||
text = ''
|
||||
# ---------- Nintendo 3DS CIA ----------
|
||||
0 lelong 0x00002020 Nintendo 3DS CTR Importable Archive (CIA)
|
||||
!:mime application/x-ctr-importable-archive
|
||||
!:ext cia
|
||||
|
||||
# ---------- Paradox Mod Descriptor ----------
|
||||
0 search/200 supported_version= Paradox Mod Descriptor
|
||||
!:mime text/x-pdx-descriptor
|
||||
!:ext mod
|
||||
|
||||
0 search/200 tags= Paradox Mod Descriptor
|
||||
!:mime text/x-pdx-descriptor
|
||||
!:ext mod
|
||||
|
||||
0 search/200 version= Paradox Mod Descriptor
|
||||
!:mime text/x-pdx-descriptor
|
||||
!:ext mod
|
||||
|
||||
0 search/200 name= Paradox Mod Descriptor
|
||||
!:mime text/x-pdx-descriptor
|
||||
!:ext mod
|
||||
|
||||
# ---------- Nix Source Code ----------
|
||||
0 regex/100 ^[[:space:]]*(\\{|#|let|import) Nix Source Code
|
||||
!:mime text/x-nix
|
||||
!:ext nix
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -83,6 +83,8 @@ in {
|
|||
./programs/lollypop.nix
|
||||
./programs/gallery-dl.nix
|
||||
./programs/readest.nix
|
||||
./programs/openclaw.nix
|
||||
./programs/libmagic.nix
|
||||
|
||||
# Desktop Linux
|
||||
./programs/desktop/gnome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue