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 6 years ago
parent
commit
5b7e4d72ec
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      scripts/username2xres

+ 6
- 0
scripts/username2xres View File

@@ -0,0 +1,6 @@
#!/bin/bash

REAL="$USER"
XRES=/home/$USER/.Xresources

sed -i "s|user|$REAL|g" "$XRES"

Loading…
Cancel
Save