- Added darwin and jovian inputs - Added platform-specific package configurations - Added darwinConfigurations and deck nixosConfiguration - Copied darwin and deck specific files - Fixed darwin version compatibility Some configurations still need debugging
		
			
				
	
	
		
			20 lines
		
	
	
		
			556 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			556 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| source "$HOME/.config/sketchybar/variables.sh" # Loads all defined colors
 | |
| 
 | |
| SPACE_ICONS=(" " " " " " " " " " "6" "7" "8" "9" "10")
 | |
| 
 | |
| SPACE_CLICK_SCRIPT="yabai -m space --focus $SID 2>/dev/null"
 | |
| 
 | |
| if [ "$SELECTED" = "true" ]; then
 | |
| 	sketchybar --animate tanh 5 --set "$NAME" \
 | |
| 		icon.color="$RED" \
 | |
| 		icon="${SPACE_ICONS[$SID - 1]}" \
 | |
| 		click_script="$SPACE_CLICK_SCRIPT"
 | |
| else
 | |
| 	sketchybar --animate tanh 5 --set "$NAME" \
 | |
| 		icon.color="$COMMENT" \
 | |
| 		icon="${SPACE_ICONS[$SID - 1]}" \
 | |
| 		click_script="$SPACE_CLICK_SCRIPT"
 | |
| fi
 |