Editors desktop items

This commit is contained in:
Filippo Berto 2022-05-31 10:01:37 +02:00
parent e2ffdeb31e
commit 9f9063ea4a
2 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,18 @@
{ pkgs, ... }:
{
home.sessionVariables = { EDITOR = "hx"; VISUAL = "hx"; };
home.packages = [
(pkgs.makeDesktopItem
{
name = "helix";
exec = "hx %F";
icon = "helix";
desktopName = "Helix";
comment = "Helix text editor";
terminal = true;
categories = [ "Development" ];
})
];
programs.helix = {
enable = true;
languages = [ ];

View file

@ -44,7 +44,7 @@ let
(pkgs.makeDesktopItem
{
name = "kakoune";
exec = "kak %U";
exec = "kak %F";
icon = "kakoune";
desktopName = "Kakoune";
comment = "Kakoune text editor";