Phase 7: rename SkyOS → OrionOS across entire codebase
- Rename all binaries: skywm→orionwm, skydeskbar→oriondeskbar, skylauncher→orionlauncher, skyinstall/skyinstall-gui→orioninstall* - Rename theme directory: themes/SkyOS/ → themes/OrionOS/ - Update all string literals, window titles, menu labels, and comments - Update ISO build: hostname→orionos, user→orion, all paths/labels - Add Plymouth boot splash theme (orionos) with Navy+Blue palette - Update GTK2/GTK3 theme names, wallpaper output name - Update .gitignore, root Makefile, build-iso.sh for new binary names Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
803ffe991f
commit
61fa1194db
20 files changed
+452
-160
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ LDFLAGS = $(PKG_XFT_L)
|
||||
|
||||
SRC = src/deskbar.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
BIN = skydeskbar
|
||||
BIN = oriondeskbar
|
||||
|
||||
.PHONY: all clean install
|
||||
all: $(BIN)
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
#include <unistd.h>
|
||||
|
||||
/*
|
||||
* SkyDeskbar — modern dark panel, docked top-right.
|
||||
* OrionDeskbar — modern dark panel, docked top-right.
|
||||
*
|
||||
* ┌──────────────────────────┐
|
||||
* │ [Sky ▾] │ 12:00 PM │ <- top strip: menu + clock
|
||||
* │ [Orion ▾]│ 12:00 PM │ <- top strip: menu + clock
|
||||
* │ │ Wed Jul 23 │ <- date line
|
||||
* ├──────────────────────────┤
|
||||
* │ [F] Firefox ▸ │ <- app entries (letter icon + name)
|
||||
@@ -34,7 +34,7 @@
|
||||
/* ── layout ──────────────────────────────────────────────────────────── */
|
||||
#define DB_W 200 /* deskbar total width */
|
||||
#define DB_TOP_H 52 /* top strip height (menu + clock + date) */
|
||||
#define DB_MENU_W 68 /* width of the Sky menu button */
|
||||
#define DB_MENU_W 68 /* width of the Orion menu button */
|
||||
#define DB_ITEM_H 26 /* app entry row height */
|
||||
#define DB_ICON_SZ 18 /* app icon square size */
|
||||
#define DB_WS_H 28 /* workspace strip height */
|
||||
@@ -54,7 +54,7 @@
|
||||
/* ── modern dark palette ──────────────────────────────────────────────── */
|
||||
#define DB_COL_BG 0x111520 /* dark navy body */
|
||||
#define DB_COL_MENU_BG 0x0E1A32 /* menu button bg */
|
||||
#define DB_COL_LOGO_TEXT 0x90BBEE /* "Sky" text */
|
||||
#define DB_COL_LOGO_TEXT 0x90BBEE /* "Orion" text */
|
||||
#define DB_COL_ITEM_BG 0x141828 /* app row bg */
|
||||
#define DB_COL_ITEM_ALT 0x111520 /* alternate row */
|
||||
#define DB_COL_ITEM_HOV 0x1E4878 /* hover — blue */
|
||||
|
||||
@@ -359,7 +359,7 @@ void db_draw(Deskbar *db) {
|
||||
XSetForeground(db->dpy, db->gc, db_color(db, DB_COL_ACCENT));
|
||||
XFillRectangle(db->dpy, db->win, db->gc, 0, 0, DB_W, 2);
|
||||
|
||||
/* Sky menu button — highlight when menu is open */
|
||||
/* Orion menu button — highlight when menu is open */
|
||||
unsigned long sky_bg = db->menu_win ? 0x1A3868 : DB_COL_MENU_BG;
|
||||
XSetForeground(db->dpy, db->gc, db_color(db, sky_bg));
|
||||
XFillRectangle(db->dpy, db->win, db->gc, 0, 2, DB_MENU_W, DB_TOP_H - 2);
|
||||
@@ -368,9 +368,9 @@ void db_draw(Deskbar *db) {
|
||||
XSetForeground(db->dpy, db->gc, db_color(db, DB_COL_ACCENT));
|
||||
XFillRectangle(db->dpy, db->win, db->gc, 0, DB_TOP_H - 2, DB_MENU_W, 2);
|
||||
}
|
||||
/* "Sky \xe2\x96\xbe" = "Sky ▾" */
|
||||
/* "Orion ▾" */
|
||||
draw_str_centered(db, xd, db->font_menu, DB_COL_LOGO_TEXT,
|
||||
0, 2, DB_MENU_W, DB_TOP_H - 2, "Sky \xe2\x96\xbe");
|
||||
0, 2, DB_MENU_W, DB_TOP_H - 2, "Orion \xe2\x96\xbe");
|
||||
|
||||
/* vertical divider */
|
||||
XSetForeground(db->dpy, db->gc, db_color(db, DB_COL_BORDER_D));
|
||||
@@ -533,7 +533,7 @@ void db_draw(Deskbar *db) {
|
||||
pos += snprintf(status + pos, sizeof(status) - pos,
|
||||
" BAT %d%%%s", bat, arrow);
|
||||
}
|
||||
if (pos == 0) snprintf(status, sizeof(status), "SkyOS");
|
||||
if (pos == 0) snprintf(status, sizeof(status), "OrionOS");
|
||||
draw_str_centered(db, xd, db->font_date, DB_COL_STATUS_TXT,
|
||||
0, sy, DB_W, DB_STATUS_H, status);
|
||||
}
|
||||
@@ -569,12 +569,12 @@ static const char *S1_CMD[] = {
|
||||
#define NS1 5
|
||||
|
||||
static const MI MENU[] = {
|
||||
{ "Install SkyOS...", "alacritty -e bash -c 'sudo skyinstall; exec bash' &", 0, 0,-1 },
|
||||
{ "Install OrionOS...", "alacritty -e bash -c 'sudo skyinstall; exec bash' &", 0, 0,-1 },
|
||||
{ NULL, NULL, 1, 0,-1 },
|
||||
{ "Applications", NULL, 0, 1, 0 },
|
||||
{ "Settings", NULL, 0, 1, 1 },
|
||||
{ NULL, NULL, 1, 0,-1 },
|
||||
{ "About SkyOS", "alacritty -e bash -c 'fastfetch; read' &", 0, 0,-1 },
|
||||
{ "About OrionOS", "alacritty -e bash -c 'fastfetch; read' &", 0, 0,-1 },
|
||||
{ "Lock Screen", "xscreensaver-command -lock &", 0, 0,-1 },
|
||||
{ NULL, NULL, 1, 0,-1 },
|
||||
{ "Restart", "systemctl reboot", 0, 0,-1 },
|
||||
@@ -822,7 +822,7 @@ void db_click(Deskbar *db, int x, int y) {
|
||||
int ay = db_apps_y();
|
||||
int wy = db_ws_y(db);
|
||||
|
||||
/* Sky menu button → toggle fly-out menu */
|
||||
/* Orion menu button → toggle fly-out menu */
|
||||
if (y < DB_TOP_H && x < DB_MENU_W) {
|
||||
if (db->menu_win) db_menu_close(db);
|
||||
else db_menu_open(db);
|
||||
@@ -870,7 +870,7 @@ void db_click(Deskbar *db, int x, int y) {
|
||||
|
||||
void db_init(Deskbar *db) {
|
||||
db->dpy = XOpenDisplay(NULL);
|
||||
if (!db->dpy) { fprintf(stderr, "skydeskbar: cannot open display\n"); exit(1); }
|
||||
if (!db->dpy) { fprintf(stderr, "oriondeskbar: cannot open display\n"); exit(1); }
|
||||
|
||||
db->screen = DefaultScreen(db->dpy);
|
||||
db->root = RootWindow(db->dpy, db->screen);
|
||||
|
||||
Reference in new issue
Block a user