summaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
authorJackson Taylor <jackson@jacksontaylor.xyz>2021-02-01 18:58:28 -0500
committerJackson Taylor <jackson@jacksontaylor.xyz>2021-02-01 18:58:28 -0500
commit445f6eaeb94d97aa271970b0fdbbb6841dd349a4 (patch)
treee494e69305d53339490eb6df6510304d79dbe12a /.xprofile
parente5d3687bf9c7c83e9841f9e70c73a05d8ae56c02 (diff)
Add profile, xinitrc and xprofile
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile55
1 files changed, 55 insertions, 0 deletions
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 &