feat: Fixed wezterm config on mac and only use HYPRLAND_INSTANCE_SIGNATURE on linux
Signed-off-by: uttarayan21 <email@uttarayan.me>
This commit is contained in:
@@ -35,9 +35,11 @@
|
||||
interactiveShellInit = ''
|
||||
${pkgs.pfetch-rs}/bin/pfetch
|
||||
${lib.optionalString (device.isLinux && !device.isNix) "source /etc/profile.d/nix-daemon.fish"}
|
||||
if not set -q HYPRLAND_INSTANCE_SIGNATURE
|
||||
set -x HYPRLAND_INSTANCE_SIGNATURE (hyprctl instances | head -1 | cut -d ' ' -f2 | tr -d :)
|
||||
end
|
||||
${lib.optionalString device.isNix
|
||||
'' if not set -q HYPRLAND_INSTANCE_SIGNATURE
|
||||
set -x HYPRLAND_INSTANCE_SIGNATURE (hyprctl instances | head -1 | cut -d ' ' -f2 | tr -d :)
|
||||
end
|
||||
''}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user