commit f087284bc9bfa15a66eef1b722ef4df20c0806b6
parent a7d77b6d0f361604cf980e196c8d0486e055b3f7
Author: Mark Feller <mark@mfeller.io>
Date:   Mon, 15 Aug 2022 14:49:21 -0600
sync desktop
Diffstat:
4 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/dots/.config/emacs/core/core-packages.el b/dots/.config/emacs/core/core-packages.el
@@ -222,7 +222,7 @@
 ;; window management
 (if (eq system-type 'darwin)
     (setq window-management-prefix "H")
-  (setq window-management-prefix "S"))
+  (setq window-management-prefix "s"))
 
 (bind-keys
  ((concat window-management-prefix "-e") . windmove-up)
diff --git a/dots/.config/emacs/core/core-ui.el b/dots/.config/emacs/core/core-ui.el
@@ -77,7 +77,9 @@
 (setq-default line-spacing 5)
 
 ;; add some padding around the entire frame and fringes
-(set-fringe-mode 25)
+(if (eq system-type 'darwin)
+    (set-fringe-mode 0)
+  (set-fringe-mode 25))
 (set-frame-parameter nil 'internal-border-width 0)
 
 (provide 'core-ui)
diff --git a/dots/.config/lf/lfrc b/dots/.config/lf/lfrc
@@ -1,10 +1,16 @@
-set shell sh
-set hidden on
-set color256 on
+set nodrawbox
+set shellopts '-eu'
+set ifs "\n"
+set scrolloff 10
+set period 1
+set nohidden
+set cleaner '~/.config/lf/cleaner'
+set previewer '~/.config/lf/scope'
 
 cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1
 
 cmd delete ${{
+        clear
 	set -f
 	printf "%s\n\t" "$fx"
 	printf "delete?[y/N]"
@@ -19,5 +25,7 @@ cmd openshell ${{
 
 map D delete
 map r push :rename<space>
+map <c-r> reload
+map <c-s> set hidden!
 map <enter> shell
 map S openshell
diff --git a/dots/.local/bin/startx b/dots/.local/bin/startx
@@ -150,7 +150,7 @@ fi
 
 if [ x"$enable_xauth" = x1 ] ; then
     if [ x"$XAUTHORITY" = x ]; then
-        XAUTHORITY=$HOME/.Xauthority
+        XAUTHORITY=$HOME/.cache/Xauthority
         export XAUTHORITY
     fi
 
@@ -187,7 +187,7 @@ if [ x"$enable_xauth" = x1 ] ; then
     dummy=0
 
     # create a file with auth information for the server. ':0' is a dummy.
-    xserverauthfile=$HOME/.serverauth.$$
+    xserverauthfile=$HOME/.cache/serverauth.$$
     trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM
     xauth -q -f "$xserverauthfile" << EOF
 add :$dummy . $mcookie