From bb99d41290830e72611216c5490331c2d97c2ea1 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 12 Sep 2023 18:53:13 +0100 Subject: [PATCH] Move most of .xinitrc into .icewm/startup --- roles/home-gui/files/icewm/startup | 7 +++++++ roles/home-gui/files/xinitrc | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/home-gui/files/icewm/startup b/roles/home-gui/files/icewm/startup index c0b0c53..5cbfe2b 100755 --- a/roles/home-gui/files/icewm/startup +++ b/roles/home-gui/files/icewm/startup @@ -1,4 +1,11 @@ #!/bin/sh +xset b off # Disable the audible bell. +xrandr --dpi 96 # Set the fonts to the normal DPI. +xrdb -load "$HOME/.Xresources" +if [ -x /usr/local/bin/picom ] +then + /usr/local/bin/picom -b +fi if [ -x /usr/local/bin/hsetroot ] then sleep 1 diff --git a/roles/home-gui/files/xinitrc b/roles/home-gui/files/xinitrc index a8cb099..05124da 100755 --- a/roles/home-gui/files/xinitrc +++ b/roles/home-gui/files/xinitrc @@ -1,10 +1,3 @@ #!/bin/sh . "$HOME/.profile" -xset b off # Disable the audible bell. -xrandr --dpi 96 # Set the fonts to the normal DPI. -xrdb -load "$HOME/.Xresources" -if [ -x /usr/local/bin/picom ] -then - /usr/local/bin/picom -b -fi exec icewm-session