From f88a020f3ee159bc1a126948af03053d3427d62a Mon Sep 17 00:00:00 2001 From: adamstuck Date: Sun, 24 Apr 2022 01:08:06 +0200 Subject: xinitrc -> sxrc --- .bash_profile | 2 +- .config/X11/xinitrc | 35 ----------------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 .config/X11/xinitrc diff --git a/.bash_profile b/.bash_profile index 86a361b..424f4dd 100644 --- a/.bash_profile +++ b/.bash_profile @@ -27,5 +27,5 @@ export CM_SELECTIONS=clipboard export CM_DIR=/tmp export PF_INFO="ascii title os kernel uptime pkgs memory" -[[ $(fgconsole 2>/dev/null) == 1 ]] && exec sx "$XDG_CONFIG_HOME/X11/xinitrc" +[[ $(fgconsole 2>/dev/null) == 1 ]] && exec sx [[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc deleted file mode 100644 index 6d2f1f6..0000000 --- a/.config/X11/xinitrc +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -userresources=$XDG_CONFIG_HOME/X11/.Xresources -usermodmap=$XDG_CONFIG_HOME/X11/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -# merge in defaults and keymaps - -if [ -f $sysresources ]; then - xrdb -merge $sysresources -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - -if [ -f "$userresources" ]; then - xrdb -merge "$userresources" -fi - -if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" -fi - -# start some nice programs - -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f -fi - -source $XDG_CONFIG_HOME/i3/init -- cgit v1.2.3-70-g09d2