|  | @@ -29,8 +29,7 @@ const SettingVerge = ({ onError }: Props) => {
 | 
	
		
			
				|  |  |    const { t } = useTranslation();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    const { verge, patchVerge, mutateVerge } = useVerge();
 | 
	
		
			
				|  |  | -  const { theme_mode, language } = verge ?? {};
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +  const { theme_mode, language, tray_event } = verge ?? {};
 | 
	
		
			
				|  |  |    const configRef = useRef<DialogRef>(null);
 | 
	
		
			
				|  |  |    const hotkeyRef = useRef<DialogRef>(null);
 | 
	
		
			
				|  |  |    const miscRef = useRef<DialogRef>(null);
 | 
	
	
		
			
				|  | @@ -91,6 +90,24 @@ const SettingVerge = ({ onError }: Props) => {
 | 
	
		
			
				|  |  |          </GuardState>
 | 
	
		
			
				|  |  |        </SettingItem>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +      {OS !== "linux" && (
 | 
	
		
			
				|  |  | +        <SettingItem label={t("Tray Click Event")}>
 | 
	
		
			
				|  |  | +          <GuardState
 | 
	
		
			
				|  |  | +            value={tray_event ?? "main_window"}
 | 
	
		
			
				|  |  | +            onCatch={onError}
 | 
	
		
			
				|  |  | +            onFormat={(e: any) => e.target.value}
 | 
	
		
			
				|  |  | +            onChange={(e) => onChangeData({ tray_event: e })}
 | 
	
		
			
				|  |  | +            onGuard={(e) => patchVerge({ tray_event: e })}
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  | +            <Select size="small" sx={{ width: 140, "> div": { py: "7.5px" } }}>
 | 
	
		
			
				|  |  | +              <MenuItem value="main_window">{t("Show Main Window")}</MenuItem>
 | 
	
		
			
				|  |  | +              <MenuItem value="system_proxy">{t("System Proxy")}</MenuItem>
 | 
	
		
			
				|  |  | +              <MenuItem value="tun_mode">{t("Tun Mode")}</MenuItem>
 | 
	
		
			
				|  |  | +            </Select>
 | 
	
		
			
				|  |  | +          </GuardState>
 | 
	
		
			
				|  |  | +        </SettingItem>
 | 
	
		
			
				|  |  | +      )}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        <SettingItem label={t("Theme Setting")}>
 | 
	
		
			
				|  |  |          <IconButton
 | 
	
		
			
				|  |  |            color="inherit"
 |