Skip to content

Commit

Permalink
mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Aug 31, 2024
1 parent 422d5d9 commit a030ab6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
6 changes: 4 additions & 2 deletions home/programs/browsers/schizofox.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{inputs, ...}: {
{inputs, ...}: let
startPagePrefs = "cad014b9ee124fd704ea0f51be2f73bfc3349588a40d189dcba79c484d35183eb373638bc54f6b19a1455c4ca2df381259d97999446bc4bfef4720783438530f26eed9e2ca3f81bcfc149bae";
in {
imports = [
inputs.schizofox.homeManagerModule
];
Expand All @@ -15,7 +17,7 @@
Name = "Startpage";
Description = "Uses Google's indexer without its logging";
Method = "GET";
URLTemplate = "https://startpage.com/sp/search?query={searchTerms}";
URLTemplate = "https://startpage.com/sp/search?query={searchTerms}&prfe=${startPagePrefs}";
}
];
};
Expand Down
1 change: 0 additions & 1 deletion home/programs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
postman
qbittorrent-enhanced
oversteer
pcmanfm
];
}
1 change: 0 additions & 1 deletion home/programs/wayland/wlogout.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ in {
style = ''
* {
background: none;
max-width: 500px;
}
window {
Expand Down
7 changes: 4 additions & 3 deletions home/terminal/programs/xdg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}: let
browser = ["Schizofox"];
fileManager = ["thunar"];
archiver = ["org.kde.ark"];
archiver = ["peazip"];
imageViewer = ["org.gnome.Loupe"];
videoPlayer = ["mpv"];
audioPlayer = ["mpv"];
Expand All @@ -20,6 +20,7 @@
image = xdgAssociations "image" imageViewer ["png" "svg" "jpeg" "gif"];
video = xdgAssociations "video" videoPlayer ["mp4" "avi" "mkv"];
audio = xdgAssociations "audio" audioPlayer ["mp3" "flac" "wav" "aac"];
archive = xdgAssociations "application" archiver ["zip" "x-rar" "gzip" "x-7z-compressed"];
browserTypes =
(xdgAssociations "application" browser [
"json"
Expand All @@ -46,12 +47,12 @@
"inode/directory" = fileManager;
"x-scheme-handler/spotify" = ["spotify.desktop"];
"x-scheme-handler/discord" = ["vesktop.desktop"];
"application/zip" = archiver;
}
// image
// video
// audio
// browserTypes);
// browserTypes
// archive);
in {
xdg = {
enable = true;
Expand Down
2 changes: 1 addition & 1 deletion system/programs/thunar.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
];
};

environment.systemPackages = [pkgs.libsForQt5.ark];
environment.systemPackages = [pkgs.peazip];

programs.xfconf.enable = true;
services.gvfs.enable = true;
Expand Down

0 comments on commit a030ab6

Please sign in to comment.