Fix: $USERNAME->$USER

This commit is contained in:
Kolan Sh 2014-10-14 18:55:09 +04:00
parent e1fac67736
commit bda0e9c85a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# mymail_gmail_loop.sh # mymail_gmail_loop.sh
MAILDIR=/tmp/$USERNAME-mail_loop MAILDIR=/tmp/$USER-mail_loop
mkdir --mode=700 $MAILDIR 2>/dev/null mkdir --mode=700 $MAILDIR 2>/dev/null
while [ 1 ]; do while [ 1 ]; do

2
rc.lua
View File

@ -11,7 +11,7 @@ require("autostart")
-- --
local home = os.getenv("HOME") local home = os.getenv("HOME")
local cfgpath = home.."/.config/awesome" local cfgpath = home.."/.config/awesome"
local username = os.getenv("USERNAME") local username = os.getenv("USER")
local terminal = "urxvt -tr +sb" local terminal = "urxvt -tr +sb"
local editor = os.getenv("EDITOR") or "vim" local editor = os.getenv("EDITOR") or "vim"
local editor_cmd = terminal .. " -e " .. editor local editor_cmd = terminal .. " -e " .. editor