Log into XDG_RUNTIME_DIR
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -o nounset
|
||||
|
||||
_logfile="$LOGDIR/dunstctl.log"
|
||||
_logfile="$XDG_RUNTIME_DIR/dunstctl.log"
|
||||
|
||||
log() {
|
||||
printf '[%s] %s\n' "$(date -uIseconds)" "$*" >> "$_logfile"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
### From http://www.archlinux.org/index.php/i3
|
||||
|
||||
_logfile="$LOGDIR/i3/i3exit.log"
|
||||
_logfile="$XDG_RUNTIME_DIR/i3exit.log"
|
||||
|
||||
touch "$_logfile"
|
||||
|
||||
|
||||
1
user.yml
1
user.yml
@@ -244,7 +244,6 @@
|
||||
path: "{{ item }}"
|
||||
with_items:
|
||||
- ~/tmp
|
||||
- ~/.var/log
|
||||
|
||||
- name: stat ~/bin
|
||||
stat:
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export LOGFILE="$LOGDIR/xinitrc.log"
|
||||
|
||||
mkdir -p "${LOGDIR}/i3"
|
||||
export LOGFILE="$XDG_RUNTIME_DIR/xinitrc.log"
|
||||
|
||||
log() {
|
||||
echo "[$(date +%FT%T)] $*" >> "$LOGFILE"
|
||||
|
||||
@@ -19,7 +19,6 @@ export LESS="FRX"
|
||||
|
||||
export WINEPATH="$HOME/games/wine"
|
||||
|
||||
export LOGDIR="$HOME/.var/log"
|
||||
export BINDIR="$HOME/bin"
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user