diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2023-05-14 19:52:51 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-05-17 18:12:57 +0800 |
commit | 9daf62c016694f853d1ef74b0b656a2543541746 (patch) | |
tree | 4a2d5dcf899fd7e81f3e7a2597fa1507716dad2d | |
parent | c8e599b9391f789a8a3e2183fc8f0c2a5061ceb0 (diff) |
gnu: xfce: Use "Greybird" and "elementary-xfce-dark" as default theme.
* gnu/packages/patches/xfce4-settings-defaults.patch: Set "ThemeName"
to "Greybird", "IconThemeName" to "elementary-xfce-dark".
* gnu/packages/xfce.scm (xfce)[inputs]: Add elementary-xfce-icon-theme.
-rw-r--r-- | gnu/packages/patches/xfce4-settings-defaults.patch | 17 | ||||
-rw-r--r-- | gnu/packages/xfce.scm | 4 |
2 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/patches/xfce4-settings-defaults.patch b/gnu/packages/patches/xfce4-settings-defaults.patch index fe91ae5f70..ce5865c481 100644 --- a/gnu/packages/patches/xfce4-settings-defaults.patch +++ b/gnu/packages/patches/xfce4-settings-defaults.patch @@ -1,17 +1,18 @@ -This patch make Xfce use "gnome" as the default icon theme and enable font antialias. +This patch make Xfce use "elementary-xfce-dark" as the default icon theme, "Greybird" as +the default GTK theme and enable font antialias. -Taken from ArchLinux. -diff -upr xfce4-settings-4.12.0.orig/xfsettingsd/xsettings.xml xfce4-settings-4.12.0/xfsettingsd/xsettings.xml ---- xfce4-settings-4.12.0.orig/xfsettingsd/xsettings.xml 2015-02-24 03:33:11.000000000 +0200 -+++ xfce4-settings-4.12.0/xfsettingsd/xsettings.xml 2015-03-01 09:52:24.376869688 +0200 +diff -upr xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml xfce4-settings-4.18.2/xfsettingsd/xsettings.xml +--- xfce4-settings-4.18.2.orig/xfsettingsd/xsettings.xml 2023-02-11 16:55:53.000000000 +0800 ++++ xfce4-settings-4.18.2/xfsettingsd/xsettings.xml 2023-05-14 19:20:43.919701586 +0800 @@ -6,8 +6,8 @@ - <?xml version="1.0" encoding="UTF-8"?> + <channel name="xsettings" version="1.0"> <property name="Net" type="empty"> - <property name="ThemeName" type="empty"/> +- <property name="ThemeName" type="empty"/> - <property name="IconThemeName" type="empty"/> -+ <property name="IconThemeName" type="string" value="gnome"/> ++ <property name="ThemeName" type="string" value="Greybird"/> ++ <property name="IconThemeName" type="string" value="elementary-xfce-dark"/> <property name="DoubleClickTime" type="int" value="400"/> <property name="DoubleClickDistance" type="int" value="5"/> <property name="DndDragThreshold" type="int" value="8"/> diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 38d77cace2..2eb90ed4b2 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1176,9 +1176,7 @@ for and start applications.") (list exo garcon adwaita-icon-theme - ;; Greybird is the recommend theme since Xfce 4.14, see: - ;; <https://mail.xfce.org/pipermail/xfce4-dev/2018-August/032151.html> - ;; TODO: Make it default via "xfconf/xfce/perchannel-xml/xsettinsg.xml" + elementary-xfce-icon-theme greybird-gtk-theme hicolor-icon-theme mate-polkit-for-xfce |