forked from CastroFidel/PortWINE
Fixed black theme in userconf
This commit is contained in:
parent
d6d2a3a1a4
commit
f8b0e18310
@ -6035,9 +6035,9 @@ gui_userconf () {
|
|||||||
[[ $YAD_GTK_THEME == \'Adwaita\' ]] && unset YAD_GTK_THEME
|
[[ $YAD_GTK_THEME == \'Adwaita\' ]] && unset YAD_GTK_THEME
|
||||||
[[ -n $YAD_GTK_THEME ]] && YAD_GTK_THEME="${YAD_GTK_THEME//\'/}!"
|
[[ -n $YAD_GTK_THEME ]] && YAD_GTK_THEME="${YAD_GTK_THEME//\'/}!"
|
||||||
fi
|
fi
|
||||||
if [[ -z $GTK_THEME ]] ; then GTK_THEME=${translations[default]}
|
if [[ -z $GTK_THEME ]] ; then GTK_THEME_PROXY=${translations[default]}
|
||||||
elif [[ $GTK_THEME =~ light$ ]] ; then GTK_THEME="${GTK_THEME//light/${translations[light]}}"
|
elif [[ $GTK_THEME =~ light$ ]] ; then GTK_THEME_PROXY="${GTK_THEME//light/${translations[light]}}"
|
||||||
elif [[ $GTK_THEME =~ dark$ ]] ; then GTK_THEME="${GTK_THEME//dark/${translations[dark]}}"
|
elif [[ $GTK_THEME =~ dark$ ]] ; then GTK_THEME_PROXY="${GTK_THEME//dark/${translations[dark]}}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $DESKTOP_WITH_TIME == "posnumber1" ]] ; then
|
if [[ $DESKTOP_WITH_TIME == "posnumber1" ]] ; then
|
||||||
@ -6069,7 +6069,7 @@ gui_userconf () {
|
|||||||
--field="${translations[Force dpi]}!${translations[Here you can set forced dpi for applications wine]} :CB" "$(combobox_fix --disabled "$YAD_DPI_VAR" "${translations[Recommended value]}!80!96!120!144!168!192!216!240")" \
|
--field="${translations[Force dpi]}!${translations[Here you can set forced dpi for applications wine]} :CB" "$(combobox_fix --disabled "$YAD_DPI_VAR" "${translations[Recommended value]}!80!96!120!144!168!192!216!240")" \
|
||||||
--field="${translations[Choice wine audio driver]}!${translations[Fixes sound popling if choice alsa]} :CB" "$(combobox_fix --disabled "$SOUND_DRIVER_VAR" "alsa!oss!pulse")" \
|
--field="${translations[Choice wine audio driver]}!${translations[Fixes sound popling if choice alsa]} :CB" "$(combobox_fix --disabled "$SOUND_DRIVER_VAR" "alsa!oss!pulse")" \
|
||||||
--field="${translations[Select PortProton theme]}!${translations[Allows you to select a theme for PortProton]} :CB" "$(combobox_fix "$GUI_THEME" "${translations[default]}!${translations[compact]}!${translations[classic]}")" \
|
--field="${translations[Select PortProton theme]}!${translations[Allows you to select a theme for PortProton]} :CB" "$(combobox_fix "$GUI_THEME" "${translations[default]}!${translations[compact]}!${translations[classic]}")" \
|
||||||
--field="${translations[Select gtk theme]}!${translations[Allows you to select a theme for GTK.]} :CB" "$(combobox_fix "$GTK_THEME" "${YAD_GTK_THEME}Adwaita:${translations[light]}!Adwaita:${translations[dark]}!${translations[default]}")" \
|
--field="${translations[Select gtk theme]}!${translations[Allows you to select a theme for GTK.]} :CB" "$(combobox_fix "$GTK_THEME_PROXY" "${YAD_GTK_THEME}Adwaita:${translations[light]}!Adwaita:${translations[dark]}!${translations[default]}")" \
|
||||||
--field="${translations[Time display]}!${translations[Displays time spent in an application or game]} :CB" "$(combobox_fix --disabled "$DESKTOP_WITH_TIME" "${translations[Show in hours and minutes]}!${translations[Show in days, hours, minutes]}")" \
|
--field="${translations[Time display]}!${translations[Displays time spent in an application or game]} :CB" "$(combobox_fix --disabled "$DESKTOP_WITH_TIME" "${translations[Show in hours and minutes]}!${translations[Show in days, hours, minutes]}")" \
|
||||||
--field="${translations[Sort shortcuts by]}!${translations[This setting sorts the shortcuts in the main menu]} :CB" "$(combobox_fix --disabled "$SORT_WITH_TIME" "${translations[According to last launch]}!${translations[By time]}")" \
|
--field="${translations[Sort shortcuts by]}!${translations[This setting sorts the shortcuts in the main menu]} :CB" "$(combobox_fix --disabled "$SORT_WITH_TIME" "${translations[According to last launch]}!${translations[By time]}")" \
|
||||||
--button="${translations[CANCEL THE CHANGES]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${translations[Cancel the current changes and return to the previous menu]}":1 \
|
--button="${translations[CANCEL THE CHANGES]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${translations[Cancel the current changes and return to the previous menu]}":1 \
|
||||||
|
@ -1005,10 +1005,6 @@ case "$PW_YAD_SET" in
|
|||||||
gui_open_scripts_from_backup) gui_open_scripts_from_backup ;;
|
gui_open_scripts_from_backup) gui_open_scripts_from_backup ;;
|
||||||
open_changelog) open_changelog ;;
|
open_changelog) open_changelog ;;
|
||||||
change_loc) change_loc ;;
|
change_loc) change_loc ;;
|
||||||
change_mirror) change_mirror ;;
|
|
||||||
change_branch) change_branch ;;
|
|
||||||
change_gui_start) change_gui_start ;;
|
|
||||||
change_download_grid) change_download_grid ;;
|
|
||||||
open_game_folder) open_game_folder ;;
|
open_game_folder) open_game_folder ;;
|
||||||
118) gui_edit_db ;;
|
118) gui_edit_db ;;
|
||||||
120) gui_vkbasalt ;;
|
120) gui_vkbasalt ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user