superficial change
This commit is contained in:
parent
634ab80ec3
commit
8c6a1aa487
1 changed files with 10 additions and 12 deletions
22
.xprofile
22
.xprofile
|
@ -3,6 +3,11 @@
|
||||||
# This file runs when a DM logs you into a graphical session.
|
# 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.
|
# 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
|
setbg & # set the background with the `setbg` script
|
||||||
xcompmgr & # xcompmgr for transparency
|
xcompmgr & # xcompmgr for transparency
|
||||||
dwmblocks & # script for updating the status bar
|
dwmblocks & # script for updating the status bar
|
||||||
|
@ -11,15 +16,8 @@ sxhkd & # Bind keys with sxhkd
|
||||||
xset r rate 300 50 & # Speed xrate up
|
xset r rate 300 50 & # Speed xrate up
|
||||||
unclutter & # Remove mouse when idle
|
unclutter & # Remove mouse when idle
|
||||||
|
|
||||||
# Set Caps to Mod/Escape
|
# This loop will update the mpd statusbar module whenever a command changes the
|
||||||
setxkbmap -option caps:super && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' &
|
# music player's status. mpd must be running on X's start for this to work.
|
||||||
# Properties button extra Mod/Escape
|
while pgrep -x mpd >/dev/null; do
|
||||||
xmodmap -e 'keycode 135 = Super_R' &
|
mpc idle >/dev/null; pkill -RTMIN+11 dwmblocks
|
||||||
|
done
|
||||||
# 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
|
|
||||||
pkill -RTMIN+11
|
|
||||||
done &
|
|
||||||
notify-send "Welcome to LARBS on Void with dwm" "Press super+F1 for the help menu." # LARBSWELCOME
|
|
||||||
|
|
Loading…
Reference in a new issue