Fixed #488
This commit is contained in:
		
							parent
							
								
									26ca402077
								
							
						
					
					
						commit
						3bef54f42e
					
				| @ -183,9 +183,9 @@ else | ||||
|     fi | ||||
|   fi | ||||
| 
 | ||||
|   if (is_running "xfce4-session"); then | ||||
|     msg="XFCE: you may need to run 'xfce4-panel -r' after changing your theme to fix your panel opacity." | ||||
|   elif (is_my_distro "solus") && (is_running "gnome-session"); then | ||||
| #  if (is_running "xfce4-session"); then | ||||
| #    msg="XFCE: you may need to run 'xfce4-panel -r' after changing your theme to fix your panel opacity." | ||||
|   if (is_my_distro "solus") && (is_running "gnome-session"); then | ||||
|     msg="GNOME: you may need to disable 'User Themes' extension to fix your dock." | ||||
|   # elif (is_running "gnome-session") && [[ "${GNOME_VERSION}" == "3-28" ]]; then | ||||
|   # msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog." | ||||
|  | ||||
| @ -556,6 +556,16 @@ remove_libadwaita() { | ||||
| #                                   THEMES                                    # | ||||
| ############################################################################### | ||||
| 
 | ||||
| fix_whiskermenu() { | ||||
|   if command -v xfce4-popup-whiskermenu &> /dev/null; then | ||||
|     sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc" | ||||
|   fi | ||||
| 
 | ||||
|   if (pgrep xfce4-session &> /dev/null); then | ||||
|     xfce4-panel -r | ||||
|   fi | ||||
| } | ||||
| 
 | ||||
| install_themes() { | ||||
|   # "install_theemy" and "install_shelly" require "gtk_base", so multithreading | ||||
|   # isn't possible | ||||
| @ -575,7 +585,7 @@ install_themes() { | ||||
|     done | ||||
|   done | ||||
| 
 | ||||
|   stop_animation | ||||
|   stop_animation; fix_whiskermenu | ||||
| } | ||||
| 
 | ||||
| remove_themes() { | ||||
|  | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 45 KiB | 
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 46 KiB | 
| @ -1,4 +1,4 @@ | ||||
| button_offset=20 | ||||
| button_offset=10 | ||||
| button_spacing=0 | ||||
| 
 | ||||
| show_app_icon=false | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 vinceliuice
						vinceliuice