Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This is not in any repo, so to install
- cd into the repo
- run `zig build`

> I recommend installing from source as the binaries will always be slightly out of date.
You can also download pre-built binaries from the releases page


Expand Down
2 changes: 1 addition & 1 deletion src/terminal.zig
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn parsePpidFromStat(stat_str: []const u8) !i32 {
}

fn isTerminalEmulator(process_name: []const u8) bool {
const terminal_emulators = [_][]const u8{ "alacritty", "kitty", "gnome-terminal", "xterm", "konsole", "urxvt", "st", "terminator", "tilix", "xfce4-terminal", "tmux", "screen", "terminology", "lxterminal", "rxvt", "sakura", "mate-terminal", "terminology", "konsole", "terminator", "ghostty" };
const terminal_emulators = [_][]const u8{ "alacritty", "kitty", "gnome-terminal", "xterm", "konsole", "urxvt", "st", "terminator", "tilix", "xfce4-terminal", "tmux", "screen", "terminology", "lxterminal", "rxvt", "sakura", "mate-terminal", "terminology", "konsole", "terminator", "ghostty", "zutty" };
for (terminal_emulators) |emulator| {
if (std.mem.eql(u8, process_name, emulator)) {
return true;
Expand Down