summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/X11/packages.both2
-rwxr-xr-xconfigs/X11/root-image/etc/skel/.icewm/startup2
-rwxr-xr-xconfigs/X11/root-image/etc/skel/.keymap.sh4
-rw-r--r--configs/X11/root-image/etc/skel/.xinitrc2
4 files changed, 8 insertions, 2 deletions
diff --git a/configs/X11/packages.both b/configs/X11/packages.both
index 70f5f8d..ce1cddb 100644
--- a/configs/X11/packages.both
+++ b/configs/X11/packages.both
@@ -57,7 +57,6 @@ xl2tpd
zsh
#X11
-dialog
xorg-server
xf86-input-evdev
xf86-video-vesa
@@ -102,6 +101,7 @@ xorg-xinit
icewm
nitrogen
xterm
+zenity
#Sound
pulseaudio-alsa
diff --git a/configs/X11/root-image/etc/skel/.icewm/startup b/configs/X11/root-image/etc/skel/.icewm/startup
index 3135793..451f7c0 100755
--- a/configs/X11/root-image/etc/skel/.icewm/startup
+++ b/configs/X11/root-image/etc/skel/.icewm/startup
@@ -1,5 +1,7 @@
#!/bin/bash
+sleep 3
+~/.keymap.sh
nm-applet &
volumeicon &
nitrogen --set-scaled .icewm/images/wallpaper.png
diff --git a/configs/X11/root-image/etc/skel/.keymap.sh b/configs/X11/root-image/etc/skel/.keymap.sh
new file mode 100755
index 0000000..0e5587e
--- /dev/null
+++ b/configs/X11/root-image/etc/skel/.keymap.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+keymap=$(zenity --list --title="Select your keymap" --column="Keymap" $(localectl list-x11-keymap-layouts))
+setxkbmap $keymap
diff --git a/configs/X11/root-image/etc/skel/.xinitrc b/configs/X11/root-image/etc/skel/.xinitrc
index 9fc0af5..643811f 100644
--- a/configs/X11/root-image/etc/skel/.xinitrc
+++ b/configs/X11/root-image/etc/skel/.xinitrc
@@ -1 +1 @@
-exec icewm-session \ No newline at end of file
+exec icewm-session