summaryrefslogtreecommitdiffstats
path: root/.xprofile
blob: 81ad4f4a62dd0ecedc6f0ba7d65568aa9657f149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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.

# Set Caps to Mod/Escape
setxkbmap -option caps:swapescape && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' &
# Properties button extra Mod/Escape
xmodmap -e 'keycode 135 = Super_R' &

setbg &			# set the background with the `setbg` script
xcompmgr &		# xcompmgr for transparency
dwmblocks &		# script for updating the status bar
dunst &			# dunst for notifications
sxhkd &			# Bind keys with sxhkd
xset r rate 300 50 &	# Speed xrate up
unclutter &		# Remove mouse when idle
mpd-module-update &	# Check for when to update the mpd module