+
    uj8i%                     ~    ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 R t ! R R]4      t ! R	 R
4      tR# )    N	Namespace)ChainMap)hypr)user_config_pathc                    VP                  4        F  w  r#W 9  d    R # \        V\        4      '       d   \        W,          V4      '       g    R # KA  \        V\        4      '       d   W0V,          9  d    R # Ki  \        V\
        4      '       d%   \        V4      \        W,          4      8:  g    R # K  \        V\        4      '       d   W0V,          8:  g    R # K  W0V,          8X  d   K   R # 	  R# )FT)items
isinstancedict	is_subsetstrlistset)supersetsubsetkeyvalues   &&  A/usr/lib/python3.14/site-packages/caelestia/subcommands/toggle.pyr   r      s    lln
eT""X]E22 3 s##SM) * t$$u:X]!33 4s##SM) * SM)+ %.     c                   ,   a  ] tR t^&t o R tR tRtV tR# )DeepChainMapc                   a V3R  lV P                    4       p \        V4      p\	        T\
        4      '       d   T P                  ! T.TO5!  # T#   \         d    T P                  S4      u # i ; i)c              3   H   <"   T F  pSV9   g   K  VS,          x  K  	  R # 5iN ).0mappingr   s   & r   	<genexpr>+DeepChainMap.__getitem__.<locals>.<genexpr>(   s     Ji73'>,'#,,is   	"")mapsnextStopIteration__missing__r
   r   	__class__)selfr   valuesfirsts   &f  r   __getitem__DeepChainMap.__getitem__'   si    JdiiJ	)LE eT"">>%1&11	  	)##C((	)s   A A/.A/c                *    \        \        V 4      4      # r   )reprr   r%   s   &r   __repr__DeepChainMap.__repr__1   s    DJr   r   N)__name__
__module____qualname____firstlineno__r(   r-   __static_attributes____classdictcell____classdict__s   @r   r   r   &   s        r   r   c                      a  ] tR t^5t o RtV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR	 ltV 3R
 lR lt	V 3R lR lt
V 3R lR ltV 3R ltRtV tR# )CommandNc                $   < V ^8  d   QhRS[ RR/# )   argsreturnNr   )formatr6   s   "r   __annotate__Command.__annotate__:   s     1 1Y 14 1r   c                   Wn         R RRRRRR/.RR.RR/RRRRRR/.RR//R	R
RRRRR/RR/RR/.R. RORR/RRRRRR/.RR//RRRRRRRRRRRR//.R. RO//RRRRRRR/.RR.RR///V n         \        \        P                  ! \
        P                  ! 4       4      R,          V P                  4      V n        R#   \        \        P                  \        3 d     R# i ; i)communicationdiscordenableTmatchclasscommandmovewhatsappmusicspotifySpotifyinitialTitlezSpotify Freefeishinsysmonbtoptitle	workspacenamezspecial:sysmontodotodoistTodoisttogglesN)	spicetifywatchz-s)footz-arO   z-TrO   fishz-Cz	exec btop)
r;   cfgr   jsonloadsr   	read_textFileNotFoundErrorJSONDecodeErrorKeyError)r%   r;   s   &&r   __init__Command.__init__:   s|   	 dw	23	{D	 dw
34D dw	2^Y4OR`bpQqr;D	 dw	23D dwvWgNhij^ dw	23	{D	E*
V	#DJJ/?/I/I/K$LY$WY]YaYabDH!4#7#7B 		s   1A	B< < C C c                   < V ^8  d   QhRR/# r:   r<   Nr   )r=   r6   s   "r   r>   r?   m   s     I IT Ir   c                   V P                   P                  R 8X  d   V P                  4        R# RpV P                   P                  V P                  9   dr   V P                  V P                   P                  ,          P	                  4        F8  pRV9   g   K  VR,          '       g   K  V P                  V4      '       g   K6  RpK:  	  V'       g.   \        P                  ! RV P                   P                  4       R# R# )	specialwsNFrC   Ttogglespecialworkspace)r;   rQ   rg   r[   r&   handle_client_configr   dispatch)r%   spawnedclients   &  r   runCommand.runm   s    99+-NN99$((*((499#6#67>>@v%&*:*:t?X?XY_?`?`"G A MM2DII4G4GH r   c                F   < V ^8  d   QhRS[ S[S[S[3,          ,          /# )r:   r<   )r   r   r   any)r=   r6   s   "r   r>   r?   {   s!      T$sCx.1 r   c                l    V P                   f   \        P                  ! R4      V n         V P                   # )Nclients)rr   r   messager,   s   &r   get_clientsCommand.get_clients{   s&    <<<<	2DL||r   c                *   < V ^8  d   QhRS[ RS[RR/# )r:   selectorrQ   r<   N)callabler   )r=   r6   s   "r   r>   r?      s'     k kH k k kr   c           	         V P                  4        FQ  pV! V4      '       g   K  VR ,          R,          RV 28w  g   K-  \        P                  ! RRV RVR,           24       KS  	  R# )rQ   rR   zspecial:movetoworkspacesilentz	,address:addressN)rt   r   rj   )r%   rw   rQ   rl   s   &&& r   move_clientCommand.move_client   s\    &&(FF;$7$?Xi[CY$Y5)IV\]fVgUh7ij )r   c                <   < V ^8  d   QhRS[ RS[S[,          RS[/# )r:   rw   spawnr<   )rx   r   r   bool)r=   r6   s   "r   r>   r?      s&      X d3i D r   c           	       a V^ ,          P                  R4      '       g$   \        P                  ! V^ ,          4      '       d   \        ;QJ d-    V3R lV P	                  4        4       F  '       g   K   RM"	  RM! V3R lV P	                  4        4       4      '       gH   \
        P                  ! RRV P                  P                   R\        P                  ! V4       24       R# R# )r   z.desktopc              3   4   <"   T F  pS! V4      x  K  	  R # 5ir   r   )r   rl   rw   s   & r   r   'Command.spawn_client.<locals>.<genexpr>   s      Q
+=HV+=s   TFexecz[workspace special:z] app2unit -- )endswithshutilwhichrp   rt   r   rj   r;   rQ   shlexjoin)r%   rw   r   s   &f&r   spawn_clientCommand.spawn_client   s    !Hj))V\\%(-C-CSS Q
+/+;+;+=Q
SSS Q
+/+;+;+=Q
 N
 N
 MM&$7		8K8K7LN[`[e[efk[lZm"nor   c                <   < V ^8  d   QhRS[ S[S[3,          RS[/# )r:   rl   r<   r   r   rp   r   )r=   r6   s   "r   r>   r?      s#      4S> d r   c                   a R  V3R llpRpRS9   d)   SR,          '       d   V P                  VSR,          4      pRS9   d5   SR,          '       d&   V P                  W P                  P                  4       V# )c                R    V ^8  d   QhR\         \        \        3,          R\        /# )r:   cr<   r   )r=   s   "r   r>   2Command.handle_client_config.<locals>.__annotate__   s"     	 	S#X 	4 	r   c                 P   < SR ,           F  p\        W4      '       g   K   R# 	  R# )rD   TF)r   )r   rD   rl   s   & r   rw   .Command.handle_client_config.<locals>.selector   s&    Q&& ) r   FrF   rG   )r   r|   r;   rQ   )r%   rl   rw   rk   s   &f  r   ri   Command.handle_client_config   sj    	 	 6)#4#4''&2CDGVvXyy':':;r   c                   < V ^8  d   QhRR/# re   r   )r=   r6   s   "r   r>   r?      s     J J4 Jr   c                    \        R  \        P                  ! R4       4       4      R,          R,          p\        P                  ! RVR,          ;'       g    R4       R# )c              3   F   "   T F  qR ,          '       g   K  Vx  K  	  R# 5i)focusedNr   )r   ms   & r   r   $Command.specialws.<locals>.<genexpr>   s     K":Q	llqq":s   !
!monitorsspecialWorkspacerR   rh   :   NNspecialN)r!   r   rs   rj   )r%   r   s   & r   rg   Command.specialws   sB    K$,,z":KKL^_`fg.0H0HyIr   c                   < V ^8  d   Qh/ S[ ;R&   S[S[S[S[S[S[S[3,          3,          3,          S[,          ;R&   S[S[S[S[3,          ,          ;R&   # )r:   r;   r[   rr   )r   r   r   rp   r   r   )r=   r6   s   "r   r>   r?   5   sU     
O 	c4T#s(^+,,	-	<<  $sCx.!( r   )r;   r[   rr   )r/   r0   r1   r2   rr   rb   rm   rt   r|   r   ri   rg   __annotate_func__r3   r4   r5   s   @r   r8   r8   5   sa      %)G1 1fI I k k
   J JS  r   r8   )r\   r   r   argparser   collectionsr   caelestia.utilsr   caelestia.utils.pathsr   r   r   r8   r   r   r   <module>r      s9            26 8  kJ kJr   