aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/icewm/files/icewm/darktheme/default.theme11
-rw-r--r--roles/icewm/files/xterm17
-rw-r--r--roles/icewm/tasks/main.yaml9
3 files changed, 27 insertions, 10 deletions
diff --git a/roles/icewm/files/icewm/darktheme/default.theme b/roles/icewm/files/icewm/darktheme/default.theme
index 1905404..d10e974 100644
--- a/roles/icewm/files/icewm/darktheme/default.theme
+++ b/roles/icewm/files/icewm/darktheme/default.theme
@@ -1,8 +1,3 @@
-# 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"
@@ -15,7 +10,6 @@ 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"
@@ -26,7 +20,6 @@ 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
@@ -36,7 +29,6 @@ CornerSizeY=12
ScrollBarX=12
ScrollBarY=12
-# Colors
ColorNormalBorder="rgb:28/2A/2E"
ColorActiveBorder="rgb:3A/3F/4A"
ColorNormalButton="rgb:33/35/3A"
@@ -83,8 +75,7 @@ ColorInputSelectionText="rgb:FF/FF/FF"
ColorClock="rgb:28/2A/2E"
ColorClockText="rgb:E0/E2/E5"
-# Desktop Background
-DesktopBackgroundColor="rgb:1E/20/25"
+DesktopBackgroundColor="rgb:00/00/0"
DesktopBackgroundCenter=1
DesktopBackgroundScaled=1
SupportSemitransparency=1
diff --git a/roles/icewm/files/xterm b/roles/icewm/files/xterm
new file mode 100644
index 0000000..5678dd8
--- /dev/null
+++ b/roles/icewm/files/xterm
@@ -0,0 +1,17 @@
+xterm*faceName: DejaVu Sans Mono
+xterm*faceSize: 10
+xterm*renderFont: true
+xterm*antialias: true
+
+xterm*background: #1E2025
+xterm*foreground: #E0E2E5
+xterm*cursorColor: #FFFFFF
+
+xterm*scrollBar: false
+xterm*rightScrollBar: false
+xterm*saveLines: 1000
+xterm*visualBell: true
+
+xterm*VT100.translations: #override \
+ Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
+ Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
diff --git a/roles/icewm/tasks/main.yaml b/roles/icewm/tasks/main.yaml
index db30cd7..1d273e1 100644
--- a/roles/icewm/tasks/main.yaml
+++ b/roles/icewm/tasks/main.yaml
@@ -4,6 +4,7 @@
- icewm
- fonts-dejavu
- xterm
+ - xclip
state: present
update_cache: true
@@ -14,3 +15,11 @@
owner: root
group: root
mode: '0644'
+
+- name: copy system-wide xterm configuration to /etc/x11/Xresources
+ copy:
+ src: xterm
+ dest: /etc/X11/Xresources
+ owner: root
+ group: root
+ mode: '0644'