Skip to content

Commit

Permalink
superficial change
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSmithxyz authored and drees5 committed Feb 11, 2024
1 parent 8481666 commit 148bdc0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .xprofile~8c6a1aa (superficial change)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/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

# This loop will update the mpd statusbar module whenever a command changes the
# music player's status. mpd must be running on X's start for this to work.
while pgrep -x mpd >/dev/null; do
mpc idle >/dev/null; pkill -RTMIN+11 dwmblocks
done

0 comments on commit 148bdc0

Please sign in to comment.