Various changes lol idc enough to write a commit message
This commit is contained in:
parent
8fa4085b7b
commit
a34a9be519
@ -74,6 +74,7 @@
|
|||||||
;; (global-tree-sitter-mode)
|
;; (global-tree-sitter-mode)
|
||||||
;; (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
;; (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
||||||
|
|
||||||
|
;; gpg
|
||||||
(setq epg-pinentry-mode 'loopback)
|
(setq epg-pinentry-mode 'loopback)
|
||||||
|
|
||||||
;; both jk and kj now works
|
;; both jk and kj now works
|
||||||
@ -137,11 +138,16 @@
|
|||||||
org-roam-ui-update-on-save t
|
org-roam-ui-update-on-save t
|
||||||
org-roam-ui-open-on-start t))
|
org-roam-ui-open-on-start t))
|
||||||
|
|
||||||
;; Deft - a Major mode for text searching
|
|
||||||
(setq deft-directory org-roam-directory)
|
(defun org-roam-rg-search ()
|
||||||
(setq deft-recursive t)
|
"Search org-roam directory using consult-ripgrep. With live-preview."
|
||||||
(setq deft-default-extension "org")
|
(interactive)
|
||||||
(setq deft-use-filter-string-for-filename t)
|
(let ((consult-ripgrep-command "rg --null --ignore-case --type org --line-buffered --color=always --max-columns=500 --no-heading --line-number . -e ARG OPTS"))
|
||||||
|
(consult-ripgrep org-roam-directory)))
|
||||||
|
|
||||||
|
(map! :leader
|
||||||
|
:desc "Search org-roam with consult-ripgrep"
|
||||||
|
"n r F" #'org-roam-rg-search)
|
||||||
|
|
||||||
;; Function for inserting node into Org Roam
|
;; Function for inserting node into Org Roam
|
||||||
(defun org-roam-node-insert-immediate (arg &rest args)
|
(defun org-roam-node-insert-immediate (arg &rest args)
|
||||||
@ -161,7 +167,6 @@
|
|||||||
(after! lsp-mode
|
(after! lsp-mode
|
||||||
(setq lsp-signature-auto-activate nil))
|
(setq lsp-signature-auto-activate nil))
|
||||||
|
|
||||||
|
|
||||||
(lsp-treemacs-sync-mode 1)
|
(lsp-treemacs-sync-mode 1)
|
||||||
|
|
||||||
(setq highlight-indent-guides-method 'bitmap)
|
(setq highlight-indent-guides-method 'bitmap)
|
||||||
|
@ -6,6 +6,7 @@ alias rm 'rm -i'
|
|||||||
alias nnn 'nnn -e'
|
alias nnn 'nnn -e'
|
||||||
alias icat 'kitty +kitten icat'
|
alias icat 'kitty +kitten icat'
|
||||||
alias magit 'emacs -nw --eval "(magit-status)"'
|
alias magit 'emacs -nw --eval "(magit-status)"'
|
||||||
|
alias emac 'emacsclient -nw'
|
||||||
alias qutebrowser 'qutebrowser --qt-flag ignore-gpu-blocklist --qt-flag enable-gpu-rasterization --qt-flag enable-native-gpu-memory-buffers --qt-flag num-raster-threads=4'
|
alias qutebrowser 'qutebrowser --qt-flag ignore-gpu-blocklist --qt-flag enable-gpu-rasterization --qt-flag enable-native-gpu-memory-buffers --qt-flag num-raster-threads=4'
|
||||||
|
|
||||||
export GPG_TTY=(tty)
|
export GPG_TTY=(tty)
|
||||||
@ -42,3 +43,5 @@ set -gx _JAVA_AWT_WM_NONREPARENTING 1
|
|||||||
set -x PATH /usr/libexec /usr/local/bin /home/minhradz/.cargo/bin /home/minhradz/.local/bin /home/minhradz/go/bin /home/minhradz/.cabal/bin $PATH
|
set -x PATH /usr/libexec /usr/local/bin /home/minhradz/.cargo/bin /home/minhradz/.local/bin /home/minhradz/go/bin /home/minhradz/.cabal/bin $PATH
|
||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
|
direnv hook fish | source
|
||||||
|
@ -44,12 +44,13 @@ formatters.setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
exe = "rustfmt",
|
exe = "rustfmt",
|
||||||
|
filetype = { "rust" },
|
||||||
},
|
},
|
||||||
{ exe = "prettier" },
|
{ exe = "prettier" },
|
||||||
{ exe = "gofmt" },
|
{ exe = "gofmt", filetypes = { "go" } },
|
||||||
{ exe = "eslint_d" },
|
{ exe = "eslint_d" },
|
||||||
{ exe = "stylua" },
|
{ exe = "stylua", filetypes = { "lua" } },
|
||||||
{ exe = "brittany" },
|
{ exe = "brittany", filetypes = { "haskell" } },
|
||||||
})
|
})
|
||||||
|
|
||||||
linters.setup({
|
linters.setup({
|
||||||
|
@ -248,6 +248,6 @@ bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -2 && pulsemixer --
|
|||||||
bindsym XF86AudioMute exec pulsemixer --toggle-mute && ( pulsemixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
|
bindsym XF86AudioMute exec pulsemixer --toggle-mute && ( pulsemixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessUp exec light -A 10
|
bindsym XF86MonBrightnessUp exec light -A 10
|
||||||
bindsym XF86MonBrightnessDown exec light -U 10
|
bindsym XF86MonBrightnessDown exec light -U 10
|
||||||
bindsym XF86AudioNext exec mpc next
|
bindsym XF86AudioNext exec mpc --host=192.168.0.100 --port=6600 next
|
||||||
bindsym XF86AudioPrev exec mpc prev
|
bindsym XF86AudioPrev exec mpc --host=192.168.0.100 --port=6600 prev
|
||||||
bindsym XF86AudioStop exec mpc toggle
|
bindsym XF86AudioStop exec mpc --host=192.168.0.100 --port=6600 toggle
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"mpd": {
|
"mpd": {
|
||||||
|
"server": "192.168.0.100",
|
||||||
|
"port": "6600",
|
||||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title} ({elapsedTime:%M:%S}) ",
|
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title} ({elapsedTime:%M:%S}) ",
|
||||||
"format-disconnected": "Disconnected ",
|
"format-disconnected": "Disconnected ",
|
||||||
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "shutdown",
|
"label" : "shutdown",
|
||||||
"action" : "systemctl shutdown",
|
"action" : "shutdown now",
|
||||||
"text" : "Shutdown",
|
"text" : "Shutdown",
|
||||||
"keybind" : "s"
|
"keybind" : "s"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user