mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Split session crawling from TUI component
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
21
src/Environment.zig
Normal file
21
src/Environment.zig
Normal file
@@ -0,0 +1,21 @@
|
||||
const enums = @import("enums.zig");
|
||||
const ini = @import("zigini");
|
||||
|
||||
const DisplayServer = enums.DisplayServer;
|
||||
const Ini = ini.Ini;
|
||||
|
||||
pub const DesktopEntry = struct {
|
||||
Exec: []const u8 = "",
|
||||
Name: [:0]const u8 = "",
|
||||
DesktopNames: ?[:0]u8 = null,
|
||||
};
|
||||
|
||||
pub const Entry = struct { @"Desktop Entry": DesktopEntry = .{} };
|
||||
|
||||
entry_ini: ?Ini(Entry) = null,
|
||||
name: [:0]const u8 = "",
|
||||
xdg_session_desktop: ?[:0]const u8 = null,
|
||||
xdg_desktop_names: ?[:0]const u8 = null,
|
||||
cmd: []const u8 = "",
|
||||
specifier: []const u8 = "",
|
||||
display_server: DisplayServer = .wayland,
|
||||
Reference in New Issue
Block a user