Use Sioyek as default PDF viewer
This commit is contained in:
parent
5543b7a3b7
commit
153d4c4979
1 changed files with 13 additions and 2 deletions
|
@ -103,7 +103,6 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
# Audio control
|
||||
pwvucontrol
|
||||
|
||||
evince
|
||||
inkscape
|
||||
obsidian
|
||||
|
||||
|
@ -264,6 +263,18 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
};
|
||||
};
|
||||
|
||||
programs.sioyek = {
|
||||
enable = true;
|
||||
bindings = {
|
||||
"command" = "-";
|
||||
|
||||
"move_up" = [ "<up>" "t" ];
|
||||
"move_down" = [ "<down>" "n" ];
|
||||
"move_left" = [ "<right>" "h" ];
|
||||
"move_right" = [ "<left>" "r" ];
|
||||
};
|
||||
};
|
||||
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
|
@ -650,7 +661,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
enable = true;
|
||||
defaultApplications = {
|
||||
"default-web-browser" = [ "firefox.desktop" ];
|
||||
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
||||
"application/pdf" = [ "sioyek.desktop" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue