added mimetypes
This commit is contained in:
parent
9cd68e154c
commit
5e49b6a324
3 changed files with 17 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
./autoupdate.nix
|
||||
./garbage-collect.nix
|
||||
./keyd.nix
|
||||
./mimetype.nix
|
||||
./optimise.nix
|
||||
];
|
||||
|
||||
|
|
15
hosts/common/mimetype.nix
Normal file
15
hosts/common/mimetype.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
xdg.mime.defaultApplications = {
|
||||
"application/pdf" = "zen.desktop";
|
||||
"text/html" = "zen.desktop";
|
||||
"x-scheme-handler/http" = "zen.desktop";
|
||||
"x-scheme-handler/https" = "zen.desktop";
|
||||
"x-scheme-handler/about" = "zen.desktop";
|
||||
"x-scheme-handler/unknown" = "zen.desktop";
|
||||
};
|
||||
|
||||
environment.sessionVariables.DEFAULT_BROWSER = "zen";
|
||||
|
||||
}
|
|
@ -24,7 +24,7 @@
|
|||
# Execute your favorite apps at launch
|
||||
exec-once = [
|
||||
''hyprctl dispatch exec "[workspace 1 silent] kitty"''
|
||||
''hyprctl dispatch exec "[workspace 2 silent] firefox"''
|
||||
''hyprctl dispatch exec "[workspace 2 silent] zen"''
|
||||
#''hyprctl dispatch exec "[workspace 3 silent] "''
|
||||
#''hyprctl dispatch exec "[workspace 4 silent] "''
|
||||
#''hyprctl dispatch exec "[workspace 8 silent] "''
|
||||
|
|
Loading…
Add table
Reference in a new issue