aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile26
1 files changed, 26 insertions, 0 deletions
diff --git a/.xprofile b/.xprofile
new file mode 100644
index 0000000..0c1f0d0
--- /dev/null
+++ b/.xprofile
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# This file runs when a DM logs you into a graphical session.
+# If you use startx/xinit like a Chad, this file will also be sourced.
+
+setbg & # set the background with the `setbg` script
+xcompmgr & # xcompmgr for transparency
+#dunst & # dunst for notifications
+#sxhkd & # Bind keys with sxhkd
+xset r rate 300 50 & # Speed xrate up
+unclutter & # Remove mouse when idle
+
+# Set Caps to Mod/Escape
+setxkbmap -option caps:super && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' &
+# Properties button extra Mod/Escape
+xmodmap -e 'keycode 135 = Super_R' &
+
+# This loop will run the `refbar` script to refresh the statusbar whenever a
+# command changes the music player's status.
+while pgrep -x mpd; do
+ mpc idle >/dev/null 2>&1
+ refbar
+done &
+ibus-daemon -xd &
+sct 3500 &
+xbacklight -set 25 &