From 445f6eaeb94d97aa271970b0fdbbb6841dd349a4 Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Mon, 1 Feb 2021 18:58:28 -0500 Subject: Add profile, xinitrc and xprofile --- .xprofile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .xprofile (limited to '.xprofile') diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..cafddcd --- /dev/null +++ b/.xprofile @@ -0,0 +1,55 @@ +#!/bin/sh + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/Xresources +sysmodmap=/etc/X11/xinit/Xmodmap + +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 + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?* ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# xautolock -time 10 -locker slock -corners 00-0 & +xss-lock slock & + +# compositor for transparency/blur +picom -b + +# set wallpaper or wallpaper script to change papes +# xwallpaper --zoom $WALLPAPER + +# Set wallpaper and terminal colors +set_wallpaper + +# program for keybindings +sxhkd & + +unclutter & + +# Start music player daemon +mpd & + +# helps if you start the status bar after dwm, duh +# /home/jackson/.local/src/dwm-bar/dwm_bar.sh & +dwmblocks & + +dunst & -- cgit v1.2.3