Browse Source

Create username2xres

This should only be run once after a new user is created or added. It replaces the /home/user/.Xresources_colors string in ~/.Xresources with the actual username.
pull/1/head
Julius Hader 8 years ago
parent
commit
5b7e4d72ec
  1. 6
      scripts/username2xres

6
scripts/username2xres

@ -0,0 +1,6 @@
#!/bin/bash
REAL="$USER"
XRES=/home/$USER/.Xresources
sed -i "s|user|$REAL|g" "$XRES"
Loading…
Cancel
Save