.
├── color-palettes
├── cursor-themes
├── emoji
├── fonts
├── graphics
├── icon-themes
├── icons
│ └── themes
├── terminal-colors
├── themes
└── wallpapers
โครงสร้าง repo นั้นคล้ายคลึงกับ Base/res repo หรือ /res ของ Serenityos ภายในอินสแตนซ์ที่กำลังทำงานอยู่ โฟลเดอร์มีทรัพยากรทั่วทั้งระบบยกเว้น icons/themes ซึ่งเป็นธีมเฉพาะ
ก่อนอื่นให้แน่ใจว่าคุณมีอินสแตนซ์ Serenityos ที่ประสบความสำเร็จในการทำงาน จากการเขียนนี้กระบวนการที่แนะนำในการลองเนื้อหาของ repo คือการคัดลอกไปยังสาขา Serenityos ของคุณด้วยตนเอง บนไดเรกทอรี GNU/Linux Home Directory สมมติว่าคุณมีทั้ง repos
ในสถานการณ์นี้สมมติว่าคุณต้องการลองใช้เนื้อหาทั้งหมดของ repo:
$ cd $HOME
$ cp -r $HOME/theming/* $HOME/serenity/Base/res/
จากนั้นคุณจะทำสิ่งต่อไปนี้เพื่อสร้าง Serenityos:
$ cd $HOME/serenity
$ Meta/serenity.sh run
ภายในอินสแตนซ์ของ Serenityos ที่กำลังดำเนินอยู่คุณควรมีแบบอักษรเพิ่มเติมธีมเคอร์เซอร์ธีมไอคอนและธีมสำหรับใช้งาน
$ cd $HOME/serenity/Ports/serenity-theming
$ ./package.sh
สิ่งนี้จะดาวน์โหลดเนื้อหาของ https://github.com/serenityos/theming repo (ของการกระทำที่แน่นอน) และติดตั้งในงานสร้างของคุณ ทรัพยากรส่วนใหญ่จะพร้อมใช้งานและพร้อมใช้งานภายใน Serenityos ยกเว้น icon-themes เนื่องจากเรายังต้องการกระบวนการติดตั้งด้วยตนเองก่อนที่จะทำ Meta/serenity.sh run
แม้ว่าตอนนี้ Repo จะเป็นส่วนหนึ่งของไดเรกทอรี Serenityos Build ของคุณ แต่การใช้ชุดรูปแบบไอคอนต้องใช้ขั้นตอนเพิ่มเติม ปัจจุบันมีธีมไอคอนสองสามชุดให้ลอง, Black-and-White , Chillychilly และ Durrque เพื่อความปลอดภัยให้สร้างชุดรูปแบบไอคอนเริ่มต้น
$ cd $HOME/serenity
# create a backup of Default Icon themes, run this command only once
~:serenity $ cp -r Base/res/icons Base/res/icon-themes/Default
# try out Black-and-White Icon theme, the next command will overwrite default icons
~:serenity $ cp -r Base/res/icon-themes/Black-and-White/* Base/res/icons/
# Build and run
~:serenity $ Meta/serenity.sh run
# Revert back to Default Icons
~:serenity $ cp -r Base/res/icon-themes/Default/* Base/res/icons/
or
~:serenity $ git restore Base/res/icons/
# Build and run
~:serenity $ Meta/serenity.sh run
เราหวังว่าจะมีขั้นตอนเหล่านี้ล้อมรอบอินเทอร์เฟซ GUI ที่ดีเร็ว ๆ นี้ ในขณะเดียวกันสนุก:^)