From 61eb761980aa834f2d4da26aff8925837f82ab1d Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 6 Sep 2023 11:37:27 +0100 Subject: [PATCH] Add xinitrc --- roles/home-gui/files/xinitrc | 6 ++++++ roles/home-gui/files/xsession-netbsd | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100755 roles/home-gui/files/xinitrc delete mode 100644 roles/home-gui/files/xsession-netbsd diff --git a/roles/home-gui/files/xinitrc b/roles/home-gui/files/xinitrc new file mode 100755 index 0000000..fade496 --- /dev/null +++ b/roles/home-gui/files/xinitrc @@ -0,0 +1,6 @@ +#!/bin/sh +. "$HOME/.profile" +xset -b # Disable the audible bell. +xrandr --dpi 96 # Set the fonts to the normal DPI. +xrdb -load "$HOME/.Xresources" +exec icewm-session diff --git a/roles/home-gui/files/xsession-netbsd b/roles/home-gui/files/xsession-netbsd deleted file mode 100644 index b7e6a28..0000000 --- a/roles/home-gui/files/xsession-netbsd +++ /dev/null @@ -1,7 +0,0 @@ -PATH=/usr/bin:/bin:/usr/X11R7/bin:/usr/pkg/bin -XDG_DATA_HOME=$HOME/.local/share -XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/pkg/share -xrdb -merge ~/.Xresources -xset b off -setxkbmap us -exec /usr/pkg/bin/startxfce4