Fix: $USERNAME->$USER
This commit is contained in:
parent
e1fac67736
commit
bda0e9c85a
|
@ -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
2
rc.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue