voidrice/.xprofile

25 lines
807 B
Text
Raw Normal View History

2019-05-27 17:40:58 +00:00
#!/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
dwmbar & # 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
2019-05-28 14:04:11 +00:00
# Set Caps to Mod/Escape
setxkbmap -option caps:super && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' &
2019-05-27 17:40:58 +00:00
# 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.
2019-05-28 12:45:33 +00:00
while pgrep -x mpd; do
2019-05-27 17:40:58 +00:00
mpc idle >/dev/null 2>&1
refbar
done &