Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Flake Inputs [CI] #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .doom.d/autoload.el
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ _b_ranch _j_next _k_prev _h_up
;;;###autoload
(defun +cljr--log-spy (prefix-info log-type arg)
(let* ((log-spy-str (cond
((eq log-type :js-console) "js/console.log")
((eq log-type :squint) "log/spy")
((eq log-type :log!) "log/spy!")
(t "log/spy")))
(log-spy-str (if prefix-info
Expand Down Expand Up @@ -666,8 +666,8 @@ _b_ranch _j_next _k_prev _h_up
(defun +spy (arg)
(interactive "P")
(when (and lispy-mode (memq major-mode '(clojure-mode clojurescript-mode clojurec-mode)))
(let* ((squint? (seq-find (-partial 'string= "squint.edn") (projectile-dir-files (doom-project-root))))
(has-as-log? (or squint? (ignore-errors (save-excursion (re-search-backward ":as log\\]")))))
(let* ((has-as-log? (ignore-errors (save-excursion (re-search-backward ":as log\\]"))))
(squint? (seq-find (-partial 'string= "squint.edn") (projectile-dir-files (doom-project-root))))
(telemere? (+cljr-project-has-dep? "com.taoensso/telemere"))
(glogi? (+cljr-project-has-dep? "lambdaisland/glogi"))
(timbre? (+cljr-project-has-dep? "timbre"))
Expand All @@ -676,12 +676,17 @@ _b_ranch _j_next _k_prev _h_up
(f (apply-partially '+cljr--log-spy
pedestal?
(cond
(squint? :js-console)
(squint? :squint)
((and telemere? (not glogi?)) :log!)
(t :log)))))
(cond
(has-as-log? (funcall f arg))

(squint?
(save-excursion
(cljr--insert-in-ns ":require")
(insert "[\"@/spy\":as log]"))
(funcall f arg))
(glogi?
(save-excursion
(cljr--insert-in-ns ":require")
Expand Down
6 changes: 3 additions & 3 deletions .doom.d/map.el
Original file line number Diff line number Diff line change
Expand Up @@ -648,10 +648,10 @@
(:map cider-inspector-mode-map
:n "s" 'yq-s-map
:n "X" #'cider-inspector-set-page-size
:n "C-j" #'cider-inspector-next-inspectable-object
:n "C-k" #'cider-inspector-previous-inspectable-object
:n "gj" #'cider-inspector-next-page
:n "gk" #'cider-inspector-prev-page)
:n "gk" #'cider-inspector-prev-page
:g "C-j" #'cider-inspector-next-inspectable-object
:g "C-k" #'cider-inspector-previous-inspectable-object)
(:map cider-repl-mode-map
(:localleader
"sp" (cmd!
Expand Down
120 changes: 60 additions & 60 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions modules/yqrashawn/home-manager/dotfiles/aerospace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ default-root-container-orientation = 'auto'
# See https://nikitabobko.github.io/AeroSpace/guide#on-focus-changed-callbacks
# See https://nikitabobko.github.io/AeroSpace/commands#move-mouse
# Fallback value (if you omit the key): on-focused-monitor-changed = []
# on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
on-focused-monitor-changed = []
on-focused-monitor-changed = ['move-mouse window-lazy-center']
# on-focused-monitor-changed = []

# You can effectively turn off macOS "Hide application" (cmd-h) feature by toggling this flag
# Useful if you don't use this macOS feature, but accidentally hit cmd-h or cmd-alt-h key
Expand Down Expand Up @@ -74,7 +74,10 @@ if.app-id = 'ai.perplexity.mac'
run = [ 'move-node-to-workspace B' ]
[[on-window-detected]]
if.app-id = 'com.openai.chat'
run = [ 'move-node-to-workspace B' ]
run = [ 'layout floating', 'move-node-to-workspace B' ]
[[on-window-detected]]
if.app-id = 'ai.perplexity.mac'
run = [ 'layout floating', 'move-node-to-workspace B' ]

### coding workspace
[[on-window-detected]]
Expand Down
Loading