Portál AbcLinuxu, 10. května 2025 20:34
Port Watercolor Emico: Olive do GTK a ohackovaný Thunar. Bohužel jsem si z minule neschoval patch pro podporu vlastních ikon, tak si ho musím napsat znovu. Za to jsem si takhle pěkně ohackoval location bar :-) Bez podpory v tématu vypadá stejně jako normálně, akorát je před/za (v závislosti na LTR/RTL textu) buttonkama ikona. S podporou v tématu (jako je port Watercolor Emico: Olive či Watercolor Emico: Ergo Blue (předchozí můj desktop)) to vypadá takto. Port Watercolor Emico: Ergo Blue je už hotov, Olive se blíží do finále. Ještě Black a Washed Black a celý to zveřejním. Patch pro thunar (zdarma :-)) klidně zveřejním už teď, jestli někdo chce. Ale je třeba trochu upravit to vaše témátko, nějak takto:
style "we-ergo-thunar-lb" { ThunarLocationButtons::spacing = 0 /* tohle to přidává opatchovaný thunar */ ThunarLocationButtons::margin = 2 ThunarLocationButtons::draw_box = 1 ThunarLocationButtons::image_spacing_l = 2 ThunarLocationButtons::image_spacing_r = 2 ThunarLocationButtons::image_size = 16 bg[NORMAL] = "#ffffff" engine "pixmap" { image { function = BOX file = "Thunar/entry.png" border = {2, 2, 2, 2} stretch = TRUE } } } widget_class "<ThunarWindow>.*.<ThunarLocationButtons>" style "we-ergo-thunar-lb" style "we-ergo-thunar-lb-button" { xthickness = 2 ythickness = 2 GtkWidget::focus_padding = 0 GtkWidget::focus-line-width = 0 GtkButton ::child-displacement-x = 0 GtkButton ::child-displacement-y = 0 fg[PRELIGHT] = "#ffffff" text[PRELIGHT] = "#ffffff" fg[SELECTED] = "#ffffff" text[SELECTED] = "#ffffff" engine "pixmap" { image { function = BOX state = PRELIGHT file = "Thunar/nav_button-prelight.png" border = {4, 4, 4, 4} stretch = TRUE } image { function = BOX state = ACTIVE file = "Thunar/nav_button-active.png" border = {4, 4, 4, 4} stretch = TRUE } image { function = BOX state = INSENSITIVE file = "Thunar/nav_button-normal.png" border = {4, 4, 4, 4} stretch = TRUE } image { function = BOX file = "Thunar/nav_button-normal.png" border = {4, 4, 4, 4} stretch = TRUE } } } widget_class "<ThunarWindow>.*.<ThunarLocationButtons>.*<GtkButton>*" style "we-ergo-thunar-lb-button"
Tiskni
Sdílej:
$ xdpyinfo | grep resolution resolution: 85x86 dots per inchAle v xfce mám pro GTK aplikace na tvrdo nastavených 96
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.