diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-05 00:30:06 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-05 00:30:06 +0200 |
| commit | ac58e45d8855cb455554ae38e532c97699ca5ee1 (patch) | |
| tree | 332756d80a6b52823cd5739c526c18c2124fca19 /modules/by-name | |
| parent | modules/direnv: Also enable sandbox when we are already in a loaded shell (diff) | |
| download | nixos-config-ac58e45d8855cb455554ae38e532c97699ca5ee1.zip | |
modules/ly: Load zsh desktop file as separate file without Terminal=true
Diffstat (limited to 'modules/by-name')
| -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 |
