Deprecate murrine
This commit is contained in:
parent
ecd31aebcb
commit
f2f4240a3e
5 changed files with 16 additions and 7 deletions
15
lib-core.sh
15
lib-core.sh
|
@ -666,6 +666,21 @@ full_sudo() {
|
|||
fi
|
||||
}
|
||||
|
||||
get_http_response() {
|
||||
exec 3<> "/dev/tcp/${1}/80"
|
||||
echo -e "GET / HTTP/1.1\nHost: ${1}\n\n" >&3
|
||||
|
||||
(
|
||||
IFS=""
|
||||
|
||||
while read -r -t 1 line 0<&3; do
|
||||
echo "${line//$"\r"}"
|
||||
done
|
||||
)
|
||||
|
||||
exec 3<&-
|
||||
}
|
||||
|
||||
usage() {
|
||||
prompt -e "Usage function is not implemented"; exit 1
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ prepare_deps() {
|
|||
|
||||
prompt -i "DEPS: Checking your internet connection..."
|
||||
|
||||
if ! head="$(curl -Is -o - 'time.cloudflare.com' || wget -Sq -o - --max-redirect=0 'time.cloudflare.com')"; then
|
||||
if ! head="$(get_http_response 'time.cloudflare.com')"; then
|
||||
prompt -e "DEPS ERROR: You have an internet connection issue\n"; exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -2459,7 +2459,6 @@ widget "xfwm4-tabwin*GtkButton*" style "xfwm-
|
|||
|
||||
# Fixes ugly text shadows for insensitive text
|
||||
widget_class "*<GtkLabel>" style "text"
|
||||
widget_class "*<GtkMenu>*<GtkLabel>" style "menu_text"
|
||||
widget_class "*<GtkComboBox>*<GtkCellLayout>" style "text"
|
||||
widget_class "*<GtkNotebook>*<GtkLabel>" style "text"
|
||||
widget_class "*<GtkNotebook>*<GtkCellLayout>" style "text"
|
||||
|
|
|
@ -201,14 +201,11 @@ widget_class "*ThunarWindow*<GtkToolbar>" style "menub
|
|||
|
||||
class "ChromeGtkFrame" style "chrome-gtk-frame"
|
||||
|
||||
widget_class "*<GtkMenuBar>*<GtkMenuItem>*<GtkAccelLabel>" style "menubar-text"
|
||||
|
||||
# Whitelist for dark toolbars
|
||||
widget_class "*ThunarWindow*<GtkMenuBar>" style "menubar-borderless"
|
||||
widget_class "*ThunarWindow*<GtkToolbar>*<GtkEntry>" style "toolbar_entry"
|
||||
widget_class "*ThunarWindow*<GtkToolbar>*<GtkButton>" style "toolbar_button"
|
||||
widget_class "*ThunarWindow*<GtkToolbar>*<GtkWidget>" style "toolbar_text"
|
||||
widget_class "*ThunarWindow*<GtkToolbar>*<GtkButton>*<GtkLabel>" style "menubar-text"
|
||||
|
||||
# GtkCheckButton
|
||||
widget_class "*<GtkCheckButton>" style "button"
|
||||
|
|
|
@ -144,8 +144,6 @@ widget_class "*CajaNavigationWindow*<GtkToolbar>" style "menub
|
|||
|
||||
class "ChromeGtkFrame" style "chrome-gtk-frame"
|
||||
|
||||
widget_class "*<GtkMenuBar>*<GtkMenuItem>*<GtkAccelLabel>" style "menubar-text"
|
||||
|
||||
# Whitelist for dark toolbars
|
||||
widget_class "*ThunarWindow*<GtkMenuBar>" style "menubar"
|
||||
widget_class "*CajaNavigationWindow*<GtkMenuBar>" style "menubar"
|
||||
|
|
Loading…
Reference in a new issue