aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-10-31 23:28:43 +0800
committerGuangxiong Lin <[email protected]>2021-10-31 23:28:43 +0800
commitd40580badbb3c0a3280899d1470ece1ce20e366f (patch)
tree0e73c0f0491e475d874853a4f2b3355b1bfe1605
parentab24ded0a10b8843d94f806aaee3f13042cd9abe (diff)
downloaddotfiles-d40580badbb3c0a3280899d1470ece1ce20e366f.tar.gz
dotfiles-d40580badbb3c0a3280899d1470ece1ce20e366f.tar.bz2
dotfiles-d40580badbb3c0a3280899d1470ece1ce20e366f.zip
Log dwm error
-rw-r--r--.env2
-rwxr-xr-xbin/startdwm2
2 files changed, 2 insertions, 2 deletions
diff --git a/.env b/.env
index 00fc048..c15332b 100644
--- a/.env
+++ b/.env
@@ -1 +1 @@
-export BROWSER=firefox
+export BROWSER='firefox --new-tab'
diff --git a/bin/startdwm b/bin/startdwm
index 5f5007b..7838544 100755
--- a/bin/startdwm
+++ b/bin/startdwm
@@ -11,7 +11,7 @@ new_csum=$(sha1sum $(which dwm))
while true; do
if [ "$csum" != "$new_csum" ]; then
csum=$new_csum
- dwm
+ dwm 2> ~/.dwm.log
else
exit 0
fi