This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.zsh: prefix tmux session name with workspace in graphical sessions

+7
+7
tools/zsh/flake-module.nix
··· 276 276 session_name=$(${ 277 277 self.packages.${pkgs.system}.name-generator 278 278 }/bin/name-generator 2>/dev/null || echo "session-$$") 279 + # Prefix with workspace name in graphical sessions 280 + if [[ -n "$WAYLAND_DISPLAY" ]]; then 281 + _ws_name=$(${ 282 + self.packages.${pkgs.system}.workspace-manager 283 + }/bin/workspace-manager workspace 2>/dev/null) 284 + [[ -n "$_ws_name" ]] && session_name="''${_ws_name}-''${session_name}" 285 + fi 279 286 # Start tmux with the generated session name 280 287 exec tmux -u new-session -s "$session_name" 281 288 fi