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, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.sessionVariables = { EDITOR = "hx"; VISUAL = "hx"; };
|
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 = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
languages = [ ];
|
languages = [ ];
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ let
|
||||||
(pkgs.makeDesktopItem
|
(pkgs.makeDesktopItem
|
||||||
{
|
{
|
||||||
name = "kakoune";
|
name = "kakoune";
|
||||||
exec = "kak %U";
|
exec = "kak %F";
|
||||||
icon = "kakoune";
|
icon = "kakoune";
|
||||||
desktopName = "Kakoune";
|
desktopName = "Kakoune";
|
||||||
comment = "Kakoune text editor";
|
comment = "Kakoune text editor";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue