mu
change
commit e6f176c3d719078c502d22469178b3e0077a927b
author Alpha Chen <alpha@kejadlen.dev>
date
parent 7b9850b3
diff --git a/.config/pip/pip.conf b/.config/pip/pip.conf
index 40ef2d8a..7eeb3056 100644
--- a/.config/pip/pip.conf
+++ b/.config/pip/pip.conf
@@ -5,5 +5,5 @@ require-virtualenv = true
 require-virtualenv = true
 
 [global]
-require-virtualenv = True
+require-virtualenv = true
 
diff --git a/.gitignore b/.gitignore
index 7e65018d..f5723170 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ private
 
 .config/*
 !.config/alacritty
+!.config/bat
 !.config/direnv
 !.config/git
 !.config/nvim
diff --git a/.hammerspoon/init.fnl b/.hammerspoon/init.fnl
index aa0b5a8e..165066eb 100644
--- a/.hammerspoon/init.fnl
+++ b/.hammerspoon/init.fnl
@@ -1,22 +1,25 @@
 ;; fennel-ls doesn't support arbitrary allowed globals, so
 ;; unwrap `hs` here to localize it to just one place
 (local {: application
+        : canvas
         : dialog
         : eventtap
         : execute
         : fs
         : hotkey
         : ipc
+        : inspect
         : loadSpoon
         : logger
         : notify
         : pasteboard
+        : screen
         : uielement
         : urlevent
         : window} hs)
 
-(local log (logger.new :log :info))
-(set logger.defaultLogLevel :info)
+(local log (logger.new :init :info))
+; (set logger.defaultLogLevel :info)
 
 (local {: mash : smash : modal-bind} (require :hotkey))
 
@@ -82,16 +85,18 @@
 (local {:SpoonInstall Install} spoon)
 (set Install.use_syncinstall true)
 
-;; fnlfmt: skip
-(local hotkeys {:up         [mash :k]
-                :left       [mash :h]
-                :down       [mash :j]
-                :right      [mash :l]
-                :fullscreen [mash :m]
-                :nextscreen [mash :n]})
-
 (set window.animationDuration 0.0)
-(Install:andUse :MiroWindowsManager {: hotkeys})
+
+;; fnlfmt: skip
+(let [hotkeys {:up         [mash :k]
+               :left       [mash :h]
+               :down       [mash :j]
+               :right      [mash :l]
+               :fullscreen [mash :m]
+               :nextscreen [mash :n]}]
+  (Install:andUse :MiroWindowsManager {: hotkeys}))
+
+(Install:andUse :SleepCorners {:config {:feedbackSize 100} :start true})
 
 ;; By default, URLDispatcher focuses the application before opening the URL, but
 ;; this interacts poorly with Arc since then we can be in the wrong space when
diff --git a/.tmux.conf b/.tmux.conf
index bcd1f188..e642635e 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,4 +1,4 @@
-set -g default-terminal "screen-256color"
+set -g default-terminal "tmux-256color"
 set -ga terminal-overrides ",*-256color:Tc" # enable 24-bit color
 
 ## messages
diff --git a/README.md b/README.md
index acaf1f52..55946d30 100644
--- a/README.md
+++ b/README.md
@@ -3,27 +3,9 @@
 This repo contains both my dotfiles as well as [Ansible][ansible] playbooks to
 provision new machines.
 
-**Use at your own risk.**
-
-[ansible]: https://github.com/ansible/ansible
-
-See [ansible/README.md](ansible/README.md) for installation instructions.
-
-## Remote provisioning
-
-On the control machine:
+## Useful Commands
 
 ```
-brew install ansible
-git clone --recursive git@github.com:kejadlen/dotfiles
-cd dotfiles/meta
-
-echo HOST > hosts.private
-
-ansible-playbook bootstrap.yml --ask-pass --ask-become-pass
-ansible-playbook main.yml --ask-become-pass
+# Adding a submodule
+git submodule add -b BRANCH -f --name NAME --depth 1 GIT DIR
 ```
-
-# TODO
-
-See [issues](https://github.com/kejadlen/dotfiles/issues).