Editors desktop items
This commit is contained in:
parent
e2ffdeb31e
commit
9f9063ea4a
2 changed files with 13 additions and 1 deletions
|
|
@ -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 = [ ];
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ let
|
|||
(pkgs.makeDesktopItem
|
||||
{
|
||||
name = "kakoune";
|
||||
exec = "kak %U";
|
||||
exec = "kak %F";
|
||||
icon = "kakoune";
|
||||
desktopName = "Kakoune";
|
||||
comment = "Kakoune text editor";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue