diff options
Diffstat (limited to 'modules/by-name/ly')
| -rw-r--r-- | modules/by-name/ly/ly/module.nix | 12 | ||||
| -rw-r--r-- | modules/by-name/ly/ly/zsh.desktop | 11 |
2 files changed, 12 insertions, 11 deletions
diff --git a/modules/by-name/ly/ly/module.nix b/modules/by-name/ly/ly/module.nix index e2d3b0ae..7ea4511a 100644 --- a/modules/by-name/ly/ly/module.nix +++ b/modules/by-name/ly/ly/module.nix @@ -22,21 +22,11 @@ null config.home-manager.users.soispha.home.packages; - shellDesktop = pkgs.writeText "zsh.desktop" '' - [Desktop Entry] - Comment=A simple shell session - DesktopNames=null - Exec=zsh - Name=zsh shell - Terminal=true - ''; + shellDesktop = ./zsh.desktop; # TODO: This could use the `services.display-manager.sessionPackages` option <2026-06-23> customSessionsDir = pkgs.runCommand "custom-sessions" {} - /* - bash - */ '' mkdir "$out"; cp "${riverDesktop}/share/applications/river.desktop" "$out" diff --git a/modules/by-name/ly/ly/zsh.desktop b/modules/by-name/ly/ly/zsh.desktop new file mode 100644 index 00000000..645d6fa0 --- /dev/null +++ b/modules/by-name/ly/ly/zsh.desktop @@ -0,0 +1,11 @@ +# See https://wiki.archlinux.org/title/Desktop_entries +# https://freedesktop.org/wiki/Howto_desktop_files/ +[Desktop Entry] +Type=Application +Version=1.0 +Comment=A simple shell session +Exec=zsh +Name=zsh shell +# Terminal _should_ be true, but for ly it works maybe better without (because there is no +# terminal to start) +Terminal=false |
