From 76c573e850448f78d0226b3ddc646f3431be6960 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 1 Oct 2023 21:23:42 +0100 Subject: [PATCH] IceWM: Create a dark theme --- roles/home-gui/files/icewm/preferences | 2 +- roles/home-gui/files/icewm/startup | 2 +- roles/home-gui/files/icewm/theme | 2 +- .../files/icewm/themes/acp-dark/close.xpm | 23 ++++++++++ .../files/icewm/themes/acp-dark/default.theme | 44 +++++++++++++++++++ .../files/icewm/themes/acp-dark/maximize.xpm | 22 ++++++++++ .../files/icewm/themes/acp-dark/menu.xpm | 21 +++++++++ .../files/icewm/themes/acp-dark/minimize.xpm | 24 ++++++++++ .../files/icewm/themes/acp-dark/restore.xpm | 22 ++++++++++ .../files/icewm/themes/acp-dark/rolldown.xpm | 22 ++++++++++ .../files/icewm/themes/acp-dark/rollup.xpm | 22 ++++++++++ 11 files changed, 203 insertions(+), 3 deletions(-) create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/close.xpm create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/default.theme create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/maximize.xpm create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/menu.xpm create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/minimize.xpm create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/restore.xpm create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/rolldown.xpm create mode 100644 roles/home-gui/files/icewm/themes/acp-dark/rollup.xpm diff --git a/roles/home-gui/files/icewm/preferences b/roles/home-gui/files/icewm/preferences index 6009213..d9cf09f 100644 --- a/roles/home-gui/files/icewm/preferences +++ b/roles/home-gui/files/icewm/preferences @@ -1,6 +1,6 @@ DateFormat="%F%n%A" DesktopBackgroundCenter=1 -DesktopBackgroundColor="steelblue" +DesktopBackgroundColor="rgb:10/10/10" LockCommand="xlock -mode blank" ModSuperIsCtrlAlt=0 MsgBoxDefaultAction=1 diff --git a/roles/home-gui/files/icewm/startup b/roles/home-gui/files/icewm/startup index 5cbfe2b..ca3a268 100755 --- a/roles/home-gui/files/icewm/startup +++ b/roles/home-gui/files/icewm/startup @@ -9,6 +9,6 @@ fi if [ -x /usr/local/bin/hsetroot ] then sleep 1 - /usr/local/bin/hsetroot -solid steelblue + /usr/local/bin/hsetroot -solid "rgb:10/10/10" fi return 0 diff --git a/roles/home-gui/files/icewm/theme b/roles/home-gui/files/icewm/theme index 61ab440..18b9f4a 100644 --- a/roles/home-gui/files/icewm/theme +++ b/roles/home-gui/files/icewm/theme @@ -1 +1 @@ -Theme="acp/default.theme" +Theme="acp-dark/default.theme" diff --git a/roles/home-gui/files/icewm/themes/acp-dark/close.xpm b/roles/home-gui/files/icewm/themes/acp-dark/close.xpm new file mode 100644 index 0000000..858ecd3 --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/close.xpm @@ -0,0 +1,23 @@ +/* XPM */ +static char *maximize_xpm[] = { +"16 16 3 1", +"F c #FFFFFF", +"B c #000000", +" c #808080", +" ", +" ", +" FF FF ", +" F B F B ", +" F B F B ", +" F BF B ", +" F B ", +" F B ", +" F B ", +" F B ", +" F BB B ", +" F B B B ", +" F B B B ", +" BB BB ", +" ", +" ", +}; diff --git a/roles/home-gui/files/icewm/themes/acp-dark/default.theme b/roles/home-gui/files/icewm/themes/acp-dark/default.theme new file mode 100644 index 0000000..a9b0d9b --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/default.theme @@ -0,0 +1,44 @@ +Look=motif +TitleBarHeight=18 +TitleButtonsSupported="misx" + +ColorDialog="rgb:30/30/30" +ColorNormalBorder="rgb:45/45/45" +ColorActiveBorder="rgb:30/30/30" +ColorNormalButton="rgb:45/45/45" +ColorNormalButtonText="rgb:C0/C0/C0" +ColorActiveButton="rgb:30/30/30" +ColorActiveButtonText="rgb:FF/FF/FF" +ColorNormalTitleButton="rgb:45/45/45" +ColorNormalTitleButtonText="rgb:C0/C0/C0" +ColorNormalTitleBar="rgb:45/45/45" +ColorNormalTitleBarText="rgb:C0/C0/C0" +ColorActiveTitleBar="rgb:30/30/30" +ColorActiveTitleBarText="rgb:FF/FF/FF" +ColorNormalMenu="rgb:45/45/45" +ColorNormalMenuItemText="rgb:C0/C0/C0" +ColorActiveMenuItem="rgb:30/30/30" +ColorActiveMenuItemText="rgb:FF/FF/FF" +ColorDisabledMenuItemText="rgb:80/80/80" +ColorMoveSizeStatus="rgb:45/45/45" +ColorMoveSizeStatusText="rgb:80/80/80" +ColorQuickSwitch="rgb:45/45/45" +ColorQuickSwitchText="rgb:C0/C0/C0" +ColorDefaultTaskBar="rgb:45/45/45" +ColorNormalTaskBarApp="rgb:45/45/45" +ColorNormalTaskBarAppText="rgb:C0/C0/C0" +ColorActiveTaskBarApp="rgb:30/30/30" +ColorActiveTaskBarAppText="rgb:FF/FF/FF" +ColorMinimizedTaskBarApp="rgb:55/55/55" +ColorMinimizedTaskBarAppText="rgb:C0/C0/C0" +ColorScrollBar="rgb:30/30/30" +ColorScrollBarSlider="rgb:45/45/45" +ColorScrollBarButton="rgb:45/45/45" +ColorScrollBarButtonArrow="rgb:C0/C0/C0" +ColorScrollBarInactiveArrow="rgb:45/45/45" +ColorListBox="rgb:45/45/45" +ColorListBoxText="rgb:C0/C0/C0" +ColorListBoxSelection="rgb:30/30/30" +ColorListBoxSelectionText="rgb:FF/FF/FF" +ColorToolTip="rgb:C0/C0/C0" +ColorToolTipText="rgb:00/00/00" diff --git a/roles/home-gui/files/icewm/themes/acp-dark/maximize.xpm b/roles/home-gui/files/icewm/themes/acp-dark/maximize.xpm new file mode 100644 index 0000000..64cd4cb --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/maximize.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *maximize_xpm[] = { +"16 16 3 1", +" c #808080", +"W c #FFFFFF", +"D c #000000", +" ", +" ", +" WWWWWWWWWWW ", +" W D ", +" W D ", +" W D ", +" W D ", +" W D ", +" W D ", +" W D ", +" W D ", +" W D ", +" W D ", +" DDDDDDDDDDD ", +" ", +" "}; diff --git a/roles/home-gui/files/icewm/themes/acp-dark/menu.xpm b/roles/home-gui/files/icewm/themes/acp-dark/menu.xpm new file mode 100644 index 0000000..b86a8dd --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/menu.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * mini-x_xpm[] = { +"16 16 2 1", +" c none s none", +". c #FF0000", +" ", +" ", +" ", +" .... . ", +" .... . ", +" .... . ", +" .... . ", +" ... . ", +" . .. ", +" . .... ", +" . .... ", +" . .... ", +" . .... ", +" . .... ", +" ", +" "}; diff --git a/roles/home-gui/files/icewm/themes/acp-dark/minimize.xpm b/roles/home-gui/files/icewm/themes/acp-dark/minimize.xpm new file mode 100644 index 0000000..82bb35d --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/minimize.xpm @@ -0,0 +1,24 @@ +/* XPM */ +static char * minimize_xpm[] = { +"16 16 3 1", +" c #808080", +"W c #FFFFFF", +"D c #000000", +" ", +" ", +" ", +" ", +" ", +" ", +" WWWWW ", +" W D ", +" W D ", +" W D ", +" W D ", +" DDDDD ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/roles/home-gui/files/icewm/themes/acp-dark/restore.xpm b/roles/home-gui/files/icewm/themes/acp-dark/restore.xpm new file mode 100644 index 0000000..8c9527d --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/restore.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *restore_xpm[] = { +"16 16 3 1", +" c #808080", +"W c #FFFFFF", +"D c #000000", +" ", +" ", +" DDDDDDDDDDD ", +" D W ", +" D W ", +" D W ", +" D W ", +" D W ", +" D W ", +" D W ", +" D W ", +" D W ", +" D W ", +" WWWWWWWWWWW ", +" ", +" "}; diff --git a/roles/home-gui/files/icewm/themes/acp-dark/rolldown.xpm b/roles/home-gui/files/icewm/themes/acp-dark/rolldown.xpm new file mode 100644 index 0000000..77fc6ab --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/rolldown.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *maximize_xpm[] = { +"16 16 3 1", +" c #808080", +"W c #FFFFFF", +"D c #000000", +" ", +" ", +" DDDDDDDDDDD ", +" D W ", +" D W ", +" D W ", +" D W ", +" WWWWWWWWWWW ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/roles/home-gui/files/icewm/themes/acp-dark/rollup.xpm b/roles/home-gui/files/icewm/themes/acp-dark/rollup.xpm new file mode 100644 index 0000000..ab7db71 --- /dev/null +++ b/roles/home-gui/files/icewm/themes/acp-dark/rollup.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *maximize_xpm[] = { +"16 16 3 1", +" c #808080", +"W c #FFFFFF", +"D c #000000", +" ", +" ", +" WWWWWWWWWWW ", +" W D ", +" W D ", +" W D ", +" W D ", +" DDDDDDDDDDD ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" "};