nachrichtenfarbe ende geändert
This commit is contained in:
		
							
								
								
									
										2
									
								
								wg_stop
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wg_stop
									
									
									
									
									
								
							@@ -38,7 +38,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
 | 
			
		||||
                  --undecorated --borders=8 --skip-taskbar \
 | 
			
		||||
                  --text-align=center --no-buttons \
 | 
			
		||||
                  --timeout 2 --timeout-indicator=bottom \
 | 
			
		||||
                  --text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>"
 | 
			
		||||
                  --text=$"<span color='#0fad0a'><b>"$VALUE" Connection</b></span><span> <b>disconnected</b></span>"
 | 
			
		||||
      fi
 | 
			
		||||
    done 
 | 
			
		||||
  IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wire_g
									
									
									
									
									
								
							@@ -49,8 +49,8 @@ wg_notify(){
 | 
			
		||||
        yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
 | 
			
		||||
            --undecorated --borders=8 --skip-taskbar \
 | 
			
		||||
            --text-align=center --no-buttons --auto-close \
 | 
			
		||||
            --timeout 4 --timeout-indicator=bottom \
 | 
			
		||||
            --text=$"<span color='#0fad0a'><b>"$ACTIVE" powered</b></span>" &
 | 
			
		||||
            --timeout 2 --timeout-indicator=bottom \
 | 
			
		||||
            --text=$"<span color='#0fad0a'><b>"$ACTIVE"</b></span> <span><b>powered</b></span>" &
 | 
			
		||||
    # autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
 | 
			
		||||
    nmcli con mod "$ACTIVE" connection.autoconnect no 
 | 
			
		||||
   
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user