This commit is contained in:
elkowar 2021-09-11 14:45:12 +02:00
parent 6995d8dd9d
commit b02bd70669
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
6 changed files with 30 additions and 29 deletions

View file

@ -46,7 +46,7 @@
(defwidget music-button [] (defwidget music-button []
(button :onclick "playerctl play-pause" (button :onclick "playerctl play-pause"
"${music_data.status == "Playing" ? "⏸" : "▶"}")) "${music_data == "" ? "⏸" : music_data.status == "Playing" ? "⏸" : "▶"}"))
(defwidget volume [] (defwidget volume []
(box :class "volume-metric" (box :class "volume-metric"
@ -118,6 +118,7 @@
:anchor "top left" :anchor "top left"
:reserve (struts :distance "40px" :side "left") :reserve (struts :distance "40px" :side "left")
(bar :screen 1)) (bar :screen 1))
(defwindow bar_2 (defwindow bar_2
:monitor 2 :monitor 2
:geometry (geometry :x 0 :y 0 :width "40px" :height "100%") :geometry (geometry :x 0 :y 0 :width "40px" :height "100%")

View file

@ -66,7 +66,7 @@
; json query stuff ; json query stuff
;:gennaro-tedesco/nvim-jqx {:ft ["json"]} ;:gennaro-tedesco/nvim-jqx {:ft ["json"]}
:Olical/aniseed {:branch "develop"}; :tag "v3.16.0"} :Olical/aniseed {:branch "master"}; :tag "v3.16.0"}
;:Olical/aniseed {}; :tag "v3.16.0"} ;:Olical/aniseed {}; :tag "v3.16.0"}
; general purpose lua wrappers for nvim stuff ; general purpose lua wrappers for nvim stuff

View file

@ -2,6 +2,9 @@
{autoload {utils dots.utils {autoload {utils dots.utils
coq coq}}) coq coq}})
(set vim.g.coq_settings {:limits.completion_auto_timeout 1}) (set vim.g.coq_settings {:limits.completion_auto_timeout 1
:clients.lsp.weight_adjust 2
:clients.tree_sitter.enabled false})
(vim.cmd "autocmd! InsertEnter * COQnow --shut-up") (vim.cmd "autocmd! InsertEnter * COQnow --shut-up")

View file

@ -68,23 +68,20 @@
(or-empty (str.join " | " s)))) (or-empty (str.join " | " s))))
(def components (def components {:active {} :inactive {}})
{:left {:active {} :inactive {}}
:mid {:active {} :inactive {}}
:right {:active {} :inactive {}}})
(set components.left.active (tset components.active 1
[{:provider #(.. " " (or (. modes (vim.fn.mode) :text) vim.fn.mode) " ") [{:provider #(.. " " (or (. modes (vim.fn.mode) :text) vim.fn.mode) " ")
:hl #(vim-mode-hl false)} :hl #(vim-mode-hl false)}
{:provider get-current-filepath :left_sep " "} {:provider get-current-filepath :left_sep " "}
{:provider git-status-provider :left_sep " " :hl #(vim-mode-hl true)}]) {:provider git-status-provider :left_sep " " :hl #(vim-mode-hl true)}])
(set components.mid.active (tset components.active 2
[{:provider lsp-progress-provider [{:provider lsp-progress-provider
:enabled #(< 0 (length (vim.lsp.buf_get_clients)))}]) :enabled #(< 0 (length (vim.lsp.buf_get_clients)))}])
(set components.right.active (tset components.active 3
[{:provider #vim.bo.filetype [{:provider #vim.bo.filetype
:hl #(vim-mode-hl true) :hl #(vim-mode-hl true)
:right_sep " "} :right_sep " "}
@ -97,7 +94,7 @@
(feline.setup (feline.setup
{:default_bg bar-bg {:colors {:bg bar-bg
:default_fg colors.dark4 :fg colors.dark4}
:components components}) :components components})

View file

@ -19,11 +19,11 @@
; Might fuck with gitsigns ; Might fuck with gitsigns
;:rainbow {:enable true ;:rainbow {:enable true
;:extended_mode true} ;:extended_mode true}
:context_commentstring {:enable true :disable ["rust"]} :context_commentstring {:enable true :disable ["rust" "fennel"]}
:playground :playground
{:enable true {:enable true
:disable {} :disable ["fennel"]
:updatetime 25 ; Debounced time for highlighting nodes in the playground from source code :updatetime 25 ; Debounced time for highlighting nodes in the playground from source code
:persist_queries false ; Whether the query persists across vim sessions :persist_queries false ; Whether the query persists across vim sessions
:keybindings :keybindings

View file

@ -4,8 +4,8 @@
str aniseed.string str aniseed.string
view aniseed.view view aniseed.view
popup popup popup popup
compe compe compe compe}
help dots.help-thingy} ;help dots.help-thingy}
require-macros [macros]}) require-macros [macros]})