aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/desktop-environment/files/icewm/darktheme/close.xpm22
-rw-r--r--roles/desktop-environment/files/icewm/darktheme/default.theme91
-rw-r--r--roles/desktop-environment/files/icewm/darktheme/maximize.xpm22
-rw-r--r--roles/desktop-environment/files/icewm/darktheme/menu.xpm22
-rw-r--r--roles/desktop-environment/files/icewm/darktheme/minimize.xpm22
-rw-r--r--roles/desktop-environment/files/icewm/darktheme/restore.xpm22
-rw-r--r--roles/desktop-environment/files/icewm/menu1
-rw-r--r--roles/desktop-environment/files/icewm/preferences46
-rw-r--r--roles/desktop-environment/files/icewm/programs1
-rw-r--r--roles/desktop-environment/files/icewm/theme1
-rw-r--r--roles/desktop-environment/files/icewm/toolbar1
-rw-r--r--roles/desktop-environment/tasks/main.yaml15
12 files changed, 266 insertions, 0 deletions
diff --git a/roles/desktop-environment/files/icewm/darktheme/close.xpm b/roles/desktop-environment/files/icewm/darktheme/close.xpm
new file mode 100644
index 0000000..d24dfda
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/darktheme/close.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char *close_xpm[] = {
+"16 16 2 1",
+" c #3A3F4A",
+". c #E0E2E5",
+" ",
+" ",
+" ",
+" ",
+" ",
+" . . ",
+" . . ",
+" .. ",
+" . . ",
+" . . ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "
+};
diff --git a/roles/desktop-environment/files/icewm/darktheme/default.theme b/roles/desktop-environment/files/icewm/darktheme/default.theme
new file mode 100644
index 0000000..1905404
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/darktheme/default.theme
@@ -0,0 +1,91 @@
+# Theme Metadata
+ThemeAuthor="Grok, inspired by modern UI design"
+ThemeDescription="A modern dark mode IceWM theme with flat look, consistent titlebar color for active/inactive windows, border color change for inactive windows, and DejaVu fonts."
+
+# General Settings
+Look=flat
+TitleBarHeight=16
+TitleButtonsSupported="xmis"
+TitleBarJustify=50
+TitleBarVertOffset=0
+ShowMenuButtonIcon=1
+MenuIconSize=16
+SmallIconSize=16
+LargeIconSize=32
+TitleButtonsLeft=""
+TitleButtonsRight="xmir"
+
+# Fonts (using Xft, with DejaVu Sans and DejaVu Sans Mono)
+TitleFontNameXft="DejaVu Sans:size=8:weight=medium"
+MenuFontNameXft="DejaVu Sans:size=9:weight=medium"
+StatusFontNameXft="DejaVu Sans Mono:size=9:weight=medium"
+NormalButtonFontNameXft="DejaVu Sans:size=9:weight=medium"
+ActiveButtonFontNameXft="DejaVu Sans:size=9:weight=bold"
+NormalTaskBarFontNameXft="DejaVu Sans:size=9:weight=medium"
+ActiveTaskBarFontNameXft="DejaVu Sans:size=9:weight=medium"
+ToolTipFontNameXft="DejaVu Sans:size=9:weight=medium"
+ClockFontNameXft="DejaVu Sans Mono:size=10:weight=medium"
+
+# Borders and Corners
+BorderSizeX=4
+BorderSizeY=4
+DlgBorderSizeX=2
+DlgBorderSizeY=2
+CornerSizeX=12
+CornerSizeY=12
+ScrollBarX=12
+ScrollBarY=12
+
+# Colors
+ColorNormalBorder="rgb:28/2A/2E"
+ColorActiveBorder="rgb:3A/3F/4A"
+ColorNormalButton="rgb:33/35/3A"
+ColorNormalButtonText="rgb:E0/E2/E5"
+ColorActiveButton="rgb:4A/50/5A"
+ColorActiveButtonText="rgb:FF/FF/FF"
+ColorNormalTitleBar="rgb:3A/3F/4A"
+ColorNormalTitleBarText="rgb:E0/E2/E5"
+ColorActiveTitleBar="rgb:3A/3F/4A"
+ColorActiveTitleBarText="rgb:FF/FF/FF"
+ColorNormalTitleButton="rgb:3A/3F/4A"
+ColorNormalTitleButtonText="rgb:E0/E2/E5"
+ColorActiveTitleButton="rgb:3A/3F/4A"
+ColorActiveTitleButtonText="rgb:FF/FF/FF"
+ColorNormalMenu="rgb:28/2A/2E"
+ColorActiveMenuItem="rgb:4A/50/5A"
+ColorNormalMenuItemText="rgb:E0/E2/E5"
+ColorActiveMenuItemText="rgb:FF/FF/FF"
+ColorDisabledMenuItemText="rgb:70/75/80"
+ColorMoveSizeStatus="rgb:28/2A/2E"
+ColorMoveSizeStatusText="rgb:E0/E2/E5"
+ColorDefaultTaskBar="rgb:28/2A/2E"
+ColorNormalTaskBarApp="rgb:33/35/3A"
+ColorNormalTaskBarAppText="rgb:E0/E2/E5"
+ColorActiveTaskBarApp="rgb:4A/50/5A"
+ColorActiveTaskBarAppText="rgb:FF/FF/FF"
+ColorMinimizedTaskBarApp="rgb:2A/2C/31"
+ColorMinimizedTaskBarAppText="rgb:A0/A2/A5"
+ColorScrollBar="rgb:28/2A/2E"
+ColorScrollBarSlider="rgb:33/35/3A"
+ColorScrollBarButton="rgb:33/35/3A"
+ColorScrollBarButtonArrow="rgb:4A/50/5A"
+ColorScrollBarInactiveArrow="rgb:70/75/80"
+ColorToolTip="rgb:2A/2C/31"
+ColorToolTipText="rgb:E0/E2/E5"
+ColorListBox="rgb:28/2A/2E"
+ColorListBoxText="rgb:E0/E2/E5"
+ColorListBoxSelection="rgb:4A/50/5A"
+ColorListBoxSelectionText="rgb:FF/FF/FF"
+ColorInput="rgb:33/35/3A"
+ColorInputText="rgb:E0/E2/E5"
+ColorInputSelection="rgb:4A/50/5A"
+ColorInputSelectionText="rgb:FF/FF/FF"
+ColorClock="rgb:28/2A/2E"
+ColorClockText="rgb:E0/E2/E5"
+
+# Desktop Background
+DesktopBackgroundColor="rgb:1E/20/25"
+DesktopBackgroundCenter=1
+DesktopBackgroundScaled=1
+SupportSemitransparency=1
+DesktopTransparencyColor="rgb:1E/20/25"
diff --git a/roles/desktop-environment/files/icewm/darktheme/maximize.xpm b/roles/desktop-environment/files/icewm/darktheme/maximize.xpm
new file mode 100644
index 0000000..e9c180b
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/darktheme/maximize.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char *maximize_xpm[] = {
+"16 16 2 1",
+" c #3A3F4A",
+". c #E0E2E5",
+" ",
+" ",
+" ",
+" ",
+" ...... ",
+" . . ",
+" . . ",
+" . . ",
+" . . ",
+" ...... ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "
+};
diff --git a/roles/desktop-environment/files/icewm/darktheme/menu.xpm b/roles/desktop-environment/files/icewm/darktheme/menu.xpm
new file mode 100644
index 0000000..5c5ed61
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/darktheme/menu.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char *menu_xpm[] = {
+"16 16 2 1",
+" c #3A3F4A",
+". c #E0E2E5",
+" ",
+" ",
+" ",
+" ",
+" ",
+" . ",
+" . ",
+" . ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "
+};
diff --git a/roles/desktop-environment/files/icewm/darktheme/minimize.xpm b/roles/desktop-environment/files/icewm/darktheme/minimize.xpm
new file mode 100644
index 0000000..475c5db
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/darktheme/minimize.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char *minimize_xpm[] = {
+"16 16 2 1",
+" c #3A3F4A",
+". c #E0E2E5",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" .... ",
+" .... ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "
+};
diff --git a/roles/desktop-environment/files/icewm/darktheme/restore.xpm b/roles/desktop-environment/files/icewm/darktheme/restore.xpm
new file mode 100644
index 0000000..041df17
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/darktheme/restore.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char *restore_xpm[] = {
+"16 16 2 1",
+" c #3A3F4A",
+". c #E0E2E5",
+" ",
+" ",
+" ",
+" ",
+" ...... ",
+" . . ",
+" . . ",
+" . . ",
+" . . ",
+" ...... ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "
+};
diff --git a/roles/desktop-environment/files/icewm/menu b/roles/desktop-environment/files/icewm/menu
new file mode 100644
index 0000000..92caa03
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/menu
@@ -0,0 +1 @@
+prog "Terminal" - x-terminal-emulator
diff --git a/roles/desktop-environment/files/icewm/preferences b/roles/desktop-environment/files/icewm/preferences
new file mode 100644
index 0000000..cf3af90
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/preferences
@@ -0,0 +1,46 @@
+TaskBarShow=1
+TaskBarShowWorkspaces=1
+TaskBarShowClock=1
+TaskBarShowTray=0
+TaskBarShowCPUStatus=0
+TaskBarShowMEMStatus=0
+TaskBarShowNetStatus=0
+TaskBarShowAPMStatus=0
+TaskBarShowCollapseButton=0
+TaskBarShowShowDesktopButton=0
+TaskBarShowStartMenu=0
+TaskBarShowMailboxStatus=0
+TaskBarShowWindowListMenu=0
+TaskBarShowTransientWindows=1
+TaskBarShowWindowIcons=0
+TaskBarShowWindows=1
+TrayShowAllWindows=1
+CPUStatusShowRamUsage=0
+CPUStatusShowSwapUsage=0
+CPUStatusShowAcpiTemp=0
+CPUStatusShowAcpiTempInGraph=0
+CPUStatusShowCpuFreq=0
+NetStatusShowOnlyRunning=0
+ShowEllipsis=0
+PagerShowPreview=0
+ShowProgramsMenu=0
+ShowThemesMenu=0
+ShowLogoutMenu=0
+ShowHelp=0
+ShowLogoutSubMenu=0
+ShowAbout=0
+ShowRun=0
+ShowWindowList=0
+ShowFocusModeMenu=0
+ShowSettingsMenu=0
+
+Workspace=4
+WorkspaceNames="1","2","3","4"
+
+TitleBarButtonsLeft=""
+TitleBarButtonsRight="xmir"
+
+ClickToFocus=1
+FocusOnClick=1
+
+MenuFontNameXft="DejaVu Sans:size=10:weight=medium"
diff --git a/roles/desktop-environment/files/icewm/programs b/roles/desktop-environment/files/icewm/programs
new file mode 100644
index 0000000..1bb8bf6
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/programs
@@ -0,0 +1 @@
+# empty
diff --git a/roles/desktop-environment/files/icewm/theme b/roles/desktop-environment/files/icewm/theme
new file mode 100644
index 0000000..b8a6830
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/theme
@@ -0,0 +1 @@
+Theme="/etc/X11/icewm/darktheme"
diff --git a/roles/desktop-environment/files/icewm/toolbar b/roles/desktop-environment/files/icewm/toolbar
new file mode 100644
index 0000000..1bb8bf6
--- /dev/null
+++ b/roles/desktop-environment/files/icewm/toolbar
@@ -0,0 +1 @@
+# empty
diff --git a/roles/desktop-environment/tasks/main.yaml b/roles/desktop-environment/tasks/main.yaml
new file mode 100644
index 0000000..4d8dec7
--- /dev/null
+++ b/roles/desktop-environment/tasks/main.yaml
@@ -0,0 +1,15 @@
+- name: install icewm
+ apt:
+ name:
+ - icewm
+ - fonts-dejavu
+ state: present
+ update_cache: true
+
+- name: copy system-wide icewm config files
+ copy:
+ src: icewm/
+ dest: /etc/X11/icewm/
+ owner: root
+ group: root
+ mode: '0644'