mirror of
				https://github.com/ItsDrike/nixdots
				synced 2025-11-04 08:16:36 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			383 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			383 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# shellcheck source=include
 | 
						|
source "./scripts/include"
 | 
						|
 | 
						|
if [ "$1" = "--switch" ]; then
 | 
						|
	$HOME/.local/bin/scripts/gui/hyprland/swap-workspace "$2" >/dev/null
 | 
						|
	# hyprctl dispatch workspace "$2" >/dev/null
 | 
						|
elif [ "$1" = "--loop" ]; then
 | 
						|
	hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
 | 
						|
else
 | 
						|
	./scripts/workspaces.py "$@"
 | 
						|
fi
 |