Alpha Chen 1 year ago
parent 7b9850b3b2
commit e6f176c3d7
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -5,5 +5,5 @@ require-virtualenv = true
require-virtualenv = true require-virtualenv = true
[global] [global]
require-virtualenv = True require-virtualenv = true

1
.gitignore vendored

@ -5,6 +5,7 @@ private
.config/* .config/*
!.config/alacritty !.config/alacritty
!.config/bat
!.config/direnv !.config/direnv
!.config/git !.config/git
!.config/nvim !.config/nvim

@ -1,22 +1,25 @@
;; fennel-ls doesn't support arbitrary allowed globals, so ;; fennel-ls doesn't support arbitrary allowed globals, so
;; unwrap `hs` here to localize it to just one place ;; unwrap `hs` here to localize it to just one place
(local {: application (local {: application
: canvas
: dialog : dialog
: eventtap : eventtap
: execute : execute
: fs : fs
: hotkey : hotkey
: ipc : ipc
: inspect
: loadSpoon : loadSpoon
: logger : logger
: notify : notify
: pasteboard : pasteboard
: screen
: uielement : uielement
: urlevent : urlevent
: window} hs) : window} hs)
(local log (logger.new :log :info)) (local log (logger.new :init :info))
(set logger.defaultLogLevel :info) ; (set logger.defaultLogLevel :info)
(local {: mash : smash : modal-bind} (require :hotkey)) (local {: mash : smash : modal-bind} (require :hotkey))
@ -82,16 +85,18 @@
(local {:SpoonInstall Install} spoon) (local {:SpoonInstall Install} spoon)
(set Install.use_syncinstall true) (set Install.use_syncinstall true)
(set window.animationDuration 0.0)
;; fnlfmt: skip ;; fnlfmt: skip
(local hotkeys {:up [mash :k] (let [hotkeys {:up [mash :k]
:left [mash :h] :left [mash :h]
:down [mash :j] :down [mash :j]
:right [mash :l] :right [mash :l]
:fullscreen [mash :m] :fullscreen [mash :m]
:nextscreen [mash :n]}) :nextscreen [mash :n]}]
(Install:andUse :MiroWindowsManager {: hotkeys}))
(set window.animationDuration 0.0) (Install:andUse :SleepCorners {:config {:feedbackSize 100} :start true})
(Install:andUse :MiroWindowsManager {: hotkeys})
;; By default, URLDispatcher focuses the application before opening the URL, but ;; 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 ;; this interacts poorly with Arc since then we can be in the wrong space when

@ -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 set -ga terminal-overrides ",*-256color:Tc" # enable 24-bit color
## messages ## messages

@ -3,27 +3,9 @@
This repo contains both my dotfiles as well as [Ansible][ansible] playbooks to This repo contains both my dotfiles as well as [Ansible][ansible] playbooks to
provision new machines. provision new machines.
**Use at your own risk.** ## Useful Commands
[ansible]: https://github.com/ansible/ansible
See [ansible/README.md](ansible/README.md) for installation instructions.
## Remote provisioning
On the control machine:
``` ```
brew install ansible # Adding a submodule
git clone --recursive git@github.com:kejadlen/dotfiles git submodule add -b BRANCH -f --name NAME --depth 1 GIT DIR
cd dotfiles/meta
echo HOST > hosts.private
ansible-playbook bootstrap.yml --ask-pass --ask-become-pass
ansible-playbook main.yml --ask-become-pass
``` ```
# TODO
See [issues](https://github.com/kejadlen/dotfiles/issues).

Loading…
Cancel
Save