From 25387e22a864bde3b9f56de166f6751baf21d4d9 Mon Sep 17 00:00:00 2001 From: minhtrannhat Date: Thu, 12 Jan 2023 18:35:09 -0500 Subject: [PATCH] Update Jan 2023 --- bash/.bashrc | 4 ++ doom-emacs/.doom.d/config.el | 66 +++++++++++--------------- doom-emacs/.doom.d/init.el | 25 +++++----- doom-emacs/.doom.d/packages.el | 4 +- fish/.config/fish/completions/bun.fish | 29 +++++++---- fish/.config/fish/fish_variables | 4 +- lvim/.config/lvim/config.lua | 19 +++++--- lvim/.config/lvim/lazy-lock.json | 59 +++++++++++++++++++++++ mako/.config/mako/config | 24 ++++++++++ sway/.config/sway/config | 8 +++- 10 files changed, 172 insertions(+), 70 deletions(-) create mode 100644 lvim/.config/lvim/lazy-lock.json create mode 100644 mako/.config/mako/config diff --git a/bash/.bashrc b/bash/.bashrc index 7a3cbc9..de4004d 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -44,3 +44,7 @@ eval "$(starship init bash)" export PATH="/home/minhradz/.cargo/bin;/home/minhradz/.local/bin;/home/minhradz/go/bin;/home/minhradz/.cabal/bin:$PATH" [ -f "/home/minhradz/.ghcup/env" ] && source "/home/minhradz/.ghcup/env" + + +# Load Angular CLI autocompletion. +source <(ng completion script) diff --git a/doom-emacs/.doom.d/config.el b/doom-emacs/.doom.d/config.el index 8b4fb60..67bff78 100644 --- a/doom-emacs/.doom.d/config.el +++ b/doom-emacs/.doom.d/config.el @@ -28,18 +28,21 @@ (add-hook 'prog-mode-hook #'pixel-scroll-mode) (add-hook 'text-mode-hook #'pixel-scroll-mode) +(add-hook 'prog-mode-hook #'pixel-scroll-precision-mode) +(add-hook 'text-mode-hook #'pixel-scroll-precision-mode) + (setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png") (defun synchronize-theme () -(let* ((light-theme 'doom-nord-light) + (let* ((light-theme 'doom-nord-light) (dark-theme 'doom-nord) (start-time-light-theme 6) (end-time-light-theme 16) (hour (string-to-number (substring (current-time-string) 11 13))) (next-theme (if (member hour (number-sequence start-time-light-theme end-time-light-theme)) - light-theme dark-theme))) - (when (not (equal doom-theme next-theme)) - (setq doom-theme next-theme) + light-theme dark-theme))) + (when (not (equal doom-theme next-theme)) + (setq doom-theme next-theme) (load-theme next-theme t)))) (run-with-timer 0 900 'synchronize-theme) @@ -79,19 +82,16 @@ (custom-set-variables '(git-gutter:update-interval 0.02)) -;; ;; tree-sitter syntax highlighting -;; (use-package! tree-sitter -;; :config -;; (require 'tree-sitter-langs) -;; (global-tree-sitter-mode) -;; (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)) +;; +;; tree-sitter syntax highlighting +(require 'treesit) +(treesit-available-p) +(setq treesit-extra-load-path "/home/minhradz/Desktop/Packages/tree-sitter-module/dist/") -(global-tree-sitter-mode) -(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) -(require 'elcord) -(elcord-mode) -(setq elcord-use-major-mode-as-main-icon 't) +;; (require 'elcord) +;; (elcord-mode) +;; (setq elcord-use-major-mode-as-main-icon 't) ;; gpg (setq epg-pinentry-mode 'loopback) @@ -274,11 +274,22 @@ (800 1200 1600 2000) "......" "----------------"))) -;; Clojure stuffs +;; Lispys stuffs (setq clojure-indent-style :always-align) +(add-hook 'lisp-mode-hook #'evil-cleverparens-mode) +(add-hook 'clojure-mode-hook #'evil-cleverparens-mode) -(eval-after-load 'cider - #'emidje-setup) +(autoload 'enable-paredit-mode "paredit" + "Turn on pseudo-structural editing of Lisp code." + t) +(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode) +(add-hook 'lisp-mode-hook 'enable-paredit-mode) +(add-hook 'lisp-interaction-mode-hook 'enable-paredit-mode) +(add-hook 'clojure-mode-hook 'enable-paredit-mode) +(add-hook 'scheme-mode-hook 'enable-paredit-mode) + +;; (eval-after-load 'cider +;; #'emidje-setup) (defun delete-file-and-buffer () "Kill the current buffer and deletes the file it is visiting." @@ -292,25 +303,6 @@ (kill-buffer))) (message "Not a file visiting buffer!")))) -;; ;; email stuffs -;; (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e") - -;; ;; Each path is relative to the path of the maildir you passed to mu -;; (set-email-account! "minhtrannhat.com" -;; '((mu4e-sent-folder . "/minhtrannhat@minhtrannhat.com/Sent") -;; (mu4e-drafts-folder . "/minhtrannhat@minhtrannhat.com/Drafts") -;; (mu4e-trash-folder . "/minhtrannhat@minhtrannhat.com/Trash") -;; (mu4e-refile-folder . "/minhtrannhat@minhtrannhat.com/All Mail") -;; (smtpmail-smtp-user . "minhtrannhat@minhtrannhat.com") -;; (mu4e-compose-signature . "Minh Tran")) -;; t) - -;; (setq sendmail-program "/usr/bin/msmtp" -;; send-mail-function #'smtpmail-send-it -;; message-sendmail-f-is-evil t -;; message-sendmail-extra-arguments '("--read-envelope-from") -;; message-send-mail-function #'message-send-mail-with-sendmail) - (use-package org-recur :hook ((org-mode . org-recur-mode) (org-agenda-mode . org-recur-agenda-mode)) diff --git a/doom-emacs/.doom.d/init.el b/doom-emacs/.doom.d/init.el index 1a5480e..aa63ae5 100644 --- a/doom-emacs/.doom.d/init.el +++ b/doom-emacs/.doom.d/init.el @@ -12,7 +12,7 @@ ;; directory (for easy access to its source code). ;; Doom no longer native compile ahead of time so we have to hack around this smh -(setq native-comp-deferred-compilation nil) +(setq native-comp-jit-compilation nil) (after! (doom-packages straight) (setq straight--native-comp-available t)) @@ -21,7 +21,7 @@ ;;japanese ;;layout ; auie,ctsrnm is the superior home row :completion - company ; the ultimate code completion backend + (company +tng) ; the ultimate code completion backend ;;helm ; the *other* search engine for love and life ;;ido ; the other *other* search engine... (ivy +fuzzy +icons) ; a search engine for love and life @@ -34,18 +34,18 @@ (emoji +unicode) ; 🙂 hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW ;;hydra - indent-guides ; highlighted indent columns + ;;indent-guides ; highlighted indent columns ligatures ; ligatures and symbols to make your code pretty again ;;minimap ; show a map of the code on the side (modeline +light) ; snazzy, Atom-inspired modeline, plus API ;;nav-flash ; blink cursor line after big motions ;;neotree ; a project drawer, like NERDTree for vim ophints ; highlight the region an operation acts on - (popup +defaults) ; tame sudden yet inevitable temporary windows + (popup +all +defaults) ; tame sudden yet inevitable temporary windows ;;tabs ; a tab bar for Emacs (treemacs +lsp) ; a project drawer, like neotree but cooler unicode ; extended unicode support for various languages - vc-gutter ; vcs diff in the fringe + (vc-gutter +pretty) ; vcs diff in the fringe vi-tilde-fringe ; fringe tildes to mark beyond EOB (window-select +numbers) ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces @@ -56,7 +56,7 @@ fold ; (nigh) universal code folding (format +onsave) ; automated prettiness ;;god ; run Emacs commands without modifier keys - ;;lispy ; vim for lisp, for people who don't like vim + ;; lispy ; vim for lisp, for people who don't like vim multiple-cursors ; editing in many places at once ;;objed ; text object editing for the innocent ;;parinfer ; turn lisp into python, sort of @@ -66,7 +66,7 @@ :emacs (dired +icons +ranger) ; making dired pretty [functional] electric ; smarter, keyword-based electric-indent - ibuffer ; interactive buffer management + (ibuffer +icons) ; interactive buffer management undo ; persistent, smarter undo for your inevitable mistakes vc ; version-control and Emacs, sitting in a tree :term @@ -81,9 +81,9 @@ :tools ;;ansible ;;debugger ; FIXME stepping through code, to help you add bugs - tree-sitter + ;;tree-sitter direnv - (docker +lsp) + ;;(docker +lsp) ;;editorconfig ; let someone else argue about tabs vs spaces ein ; tame Jupyter notebooks with emacs (eval +overlay) ; run code, run (also, repls) @@ -133,7 +133,7 @@ (json +lsp) ; At least it ain't XML (java +lsp) ; the poster child for carpal tunnel syndrome (javascript +lsp +tree-sitter) ; all(hope(abandon(ye(who(enter(here)))))) - (julia +lsp) ; a better, faster MATLAB + ;;(julia +lsp) ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) latex ; writing papers in Emacs has never been so fun ;;lean ; for folks with too much to prove @@ -175,8 +175,11 @@ ;;emms ;;everywhere ; *leave* Emacs!? You must be joking ;;irc ; how neckbeards socialize + (rss +org) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought + :config ;;literate - (default +bindings +smartparens)) + (default +bindings +smartparens) +) diff --git a/doom-emacs/.doom.d/packages.el b/doom-emacs/.doom.d/packages.el index e317dc6..eb28840 100644 --- a/doom-emacs/.doom.d/packages.el +++ b/doom-emacs/.doom.d/packages.el @@ -48,14 +48,12 @@ ;(unpin! pinned-package another-pinned-package) ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) -(package! elcord) (unpin! org-roam) (package! websocket) (package! org-roam-ui :recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out"))) (package! magit-delta) (package! blamer :recipe (:host github :repo "artawower/blamer.el")) (package! org-fragtog) -;(package! org-contacts :recipe (:host nil :type git :repo "https://repo.or.cz/org-contacts.git")) (package! org-recur) -(package! emidje) +(package! evil-cleverparens) (unpin! rustic) diff --git a/fish/.config/fish/completions/bun.fish b/fish/.config/fish/completions/bun.fish index 57c42cc..2158790 100644 --- a/fish/.config/fish/completions/bun.fish +++ b/fish/.config/fish/completions/bun.fish @@ -53,14 +53,17 @@ end set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't install devDependencies" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependenices" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder" -set -l bun_builtin_cmds dev create help bun upgrade discord run install remove add init link unlink -set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add init -set -l bun_builtin_cmds_without_bun dev create help upgrade run discord install remove add init -set -l bun_builtin_cmds_without_create dev help bun upgrade discord run install remove add init -set -l bun_builtin_cmds_without_install create dev help bun upgrade discord run remove add init -set -l bun_builtin_cmds_without_remove create dev help bun upgrade discord run install add init -set -l bun_builtin_cmds_without_add create dev help bun upgrade discord run remove install init -set -l bun_builtin_cmds_without_pm create dev help bun upgrade discord run init +set -l bun_builtin_cmds dev create help bun upgrade discord run install remove add init link unlink pm x +set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add init pm x +set -l bun_builtin_cmds_without_bun dev create help upgrade run discord install remove add init pm x +set -l bun_builtin_cmds_without_create dev help bun upgrade discord run install remove add init pm x +set -l bun_builtin_cmds_without_install create dev help bun upgrade discord run remove add init pm x +set -l bun_builtin_cmds_without_remove create dev help bun upgrade discord run install add init pm x +set -l bun_builtin_cmds_without_add create dev help bun upgrade discord run remove install init pm x +set -l bun_builtin_cmds_without_pm create dev help bun upgrade discord run init pm x + +# clear +complete -e -c bun complete -c bun \ -n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a '(__fish__get_bun_scripts)' -d 'script' @@ -102,7 +105,7 @@ complete -c bun \ -n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a '--help' -d 'See all commands and flags' -x complete -c bun \ - -n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -l "version" -s "v" -a '--version' -d 'bun\'s version' -x + -n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -l "version" -s "v" -a '--version' -d 'Bun\'s version' -x complete -c bun \ -n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a 'discord' -d 'Open bun\'s Discord server' -x @@ -150,5 +153,11 @@ complete -c bun \ complete -c bun \ -n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from add;" -d 'History' -a '(__history_completions)' + +complete -c bun \ + -n "__fish_seen_subcommand_from pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) cache;" -a 'bin ls cache hash hash-print hash-string' -f -complete -c bun --no-files \ No newline at end of file +complete -c bun \ + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts);" -a 'rm' -f + +complete -c bun -n "not __fish_seen_subcommand_from $bun_builtin_cmds (__fish__get_bun_bins) (__fish__get_bun_scripts)" -a "$bun_builtin_cmds" -f \ No newline at end of file diff --git a/fish/.config/fish/fish_variables b/fish/.config/fish/fish_variables index e9d9c59..f801957 100644 --- a/fish/.config/fish/fish_variables +++ b/fish/.config/fish/fish_variables @@ -3,8 +3,8 @@ SETUVAR --export GTK_IM_MODULE:ibus SETUVAR --export PYTHON_KEYRING_BACKEND:keyring\x2ebackends\x2enull\x2eKeyring SETUVAR --export QT_IM_MODULE:ibus -SETUVAR --export SSH_AGENT_PID:1262 -SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXX5aofTC/agent\x2e1261 +SETUVAR --export SSH_AGENT_PID:1219 +SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXqVfRCj/agent\x2e1218 SETUVAR --export SYSTEMD_TIMEDATED_NTP_SERVICES:chronyd\x2eservice\x3asystemd\x2dtimesyncd\x2eservice SETUVAR --export XMODIFIERS:\x40im\x3dibus SETUVAR __fish_initialized:3400 diff --git a/lvim/.config/lvim/config.lua b/lvim/.config/lvim/config.lua index 7d4a204..97fc6bf 100644 --- a/lvim/.config/lvim/config.lua +++ b/lvim/.config/lvim/config.lua @@ -24,12 +24,20 @@ vim.g.nord_disable_background = false vim.g.nord_italic = true vim.termguicolors = true lvim.colorscheme = "nord" -vim.api.nvim_set_var("Hexokinase_highlighters", { "backgroundfull" }) lvim.builtin.treesitter.ensure_installed = {} lvim.builtin.treesitter.ignore_install = { "" } lvim.builtin.treesitter.highlight.enabled = true +local null_ls = require("null-ls") + +null_ls.setup({ + sources = { + null_ls.builtins.formatting.ruff, + null_ls.builtins.diagnostics.ruff, + }, +}) + local formatters = require("lvim.lsp.null-ls.formatters") local linters = require("lvim.lsp.null-ls.linters") @@ -55,7 +63,7 @@ formatters.setup({ }) linters.setup({ - { exe = "flake8" }, + { exe = "ruff", filetype = { "python" } }, }) -- Additional Plugins @@ -78,10 +86,6 @@ lvim.plugins = { }, { "ellisonleao/glow.nvim" }, { "andweeb/presence.nvim" }, - { - "RRethy/vim-hexokinase", - run = "cd ~/.local/share/lunarvim/site/pack/packer/start/vim-hexokinase && make hexokinase", - }, { "m-demare/hlargs.nvim", config = function() @@ -133,8 +137,11 @@ lvim.plugins = { ) end, }, + "norcalli/nvim-colorizer.lua", } +require("colorizer").setup() + require("better_escape").setup({ mapping = { "jk", "kj" }, -- a table with mappings to use timeout = vim.o.timeoutlen, -- the time in which the keys must be hit in ms. Use option timeoutlen by default diff --git a/lvim/.config/lvim/lazy-lock.json b/lvim/.config/lvim/lazy-lock.json new file mode 100644 index 0000000..ea979fd --- /dev/null +++ b/lvim/.config/lvim/lazy-lock.json @@ -0,0 +1,59 @@ +{ + "Comment.nvim": { "branch": "master", "commit": "ab62084fa992ed7ee3c19bbb5227ce2c4234612b" }, + "LuaSnip": { "branch": "master", "commit": "dc2e307287e9a9eabc18f0e3984c7e8cb164bb38" }, + "alpha-nvim": { "branch": "main", "commit": "dafa11a6218c2296df044e00f88d9187222ba6b0" }, + "better-escape.nvim": { "branch": "master", "commit": "426d29708064d5b1bfbb040424651c92af1f3f64" }, + "bigfile.nvim": { "branch": "main", "commit": "c1bad34ce742b4f360b67ca23c873fef998240fc" }, + "bufferline.nvim": { "branch": "main", "commit": "ef4fdc5cea3473801dce89b5fdfe633380c80c65" }, + "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" }, + "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, + "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, + "friendly-snippets": { "branch": "main", "commit": "8d91ba2dc2421a54981115f61b914974f938fa77" }, + "gitsigns.nvim": { "branch": "main", "commit": "372d5cb485f2062ac74abc5b33054abac21d8b58" }, + "glow.nvim": { "branch": "main", "commit": "a3f24fdaa71d2c25a2b88026032b34f5b6a6e215" }, + "hlargs.nvim": { "branch": "main", "commit": "aec119b4c39f8e04ffbcfaaa998ac24a09a480b9" }, + "hop.nvim": { "branch": "v2", "commit": "90db1b2c61b820e230599a04fedcd2679e64bd07" }, + "indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" }, + "is.vim": { "branch": "master", "commit": "d393cb346dcdf733fecd7bbfc45b70b8c05e9eb4" }, + "lazy.nvim": { "branch": "main", "commit": "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" }, + "lir.nvim": { "branch": "master", "commit": "1aa871f20637eccc4e1e26b0fbcf9aafc9b6caf7" }, + "lsp_signature.nvim": { "branch": "master", "commit": "72b0d4ece23338fe2d03fc7b6fd8c8bace6bb441" }, + "lualine.nvim": { "branch": "master", "commit": "84ffb80e452d95e2c46fa29a98ea11a240f7843e" }, + "lunar.nvim": { "branch": "master", "commit": "08bbc93b96ad698d22fc2aa01805786bcedc34b9" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "a8d5db8f227b9b236d1c54a9c6234bc033825ce7" }, + "mason.nvim": { "branch": "main", "commit": "3fb2be48864b7850a26c54c04cedb54e95dcdf3f" }, + "neodev.nvim": { "branch": "main", "commit": "864b35006d3de24c60e44b566de8018f919b13e6" }, + "nlsp-settings.nvim": { "branch": "main", "commit": "fd5ca6e4c2b01f97309e6b515b9957e7454587e1" }, + "nord.nvim": { "branch": "master", "commit": "fab04b2dd4b64f4b1763b9250a8824d0b5194b8f" }, + "null-ls.nvim": { "branch": "main", "commit": "7e362189bc1598f36ba5e349ad6b35bed541ec40" }, + "nvim-autopairs": { "branch": "master", "commit": "7470af886ffb3df32800e5ef9c072a6cd825770d" }, + "nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" }, + "nvim-dap": { "branch": "master", "commit": "debd7c2f80eaf20c5f5df25db8d8c1b9b18f4421" }, + "nvim-dap-ui": { "branch": "master", "commit": "286f682f366fbc652b38dff893569374e9433dd3" }, + "nvim-lspconfig": { "branch": "master", "commit": "10fa01d553ce10646350461ac5ddc71f189e9d1a" }, + "nvim-navic": { "branch": "master", "commit": "27124a773d362628b114cd12016e743dab4ccf3e" }, + "nvim-tree.lua": { "branch": "master", "commit": "48d53a5934fbd51b655d03db7dad35551838f2c9" }, + "nvim-treesitter": { "branch": "master", "commit": "ac4020c70722337c326bf65b645b162ee6e1796b" }, + "nvim-ts-autotag": { "branch": "main", "commit": "cac97f3b47bcb927db6d1d784c0c323056506ef3" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "729d83ecb990dc2b30272833c213cc6d49ed5214" }, + "nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" }, + "nvim-web-devicons": { "branch": "master", "commit": "defb7da4d3d313bf31982c52fd78e414f02840c9" }, + "onedarker.nvim": { "branch": "freeze", "commit": "b00dd2189f264c5aeb4cf04c59439655ecd573ec" }, + "plenary.nvim": { "branch": "master", "commit": "9ac3e9541bbabd9d73663d757e4fe48a675bb054" }, + "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, + "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" }, + "schemastore.nvim": { "branch": "main", "commit": "a592fbe98959d13014b022ec1b1418498309019c" }, + "spellsitter.nvim": { "branch": "master", "commit": "4af8640d9d706447e78c13150ef7475ea2c16b30" }, + "structlog.nvim": { "branch": "main", "commit": "45b26a2b1036bb93c0e83f4225e85ab3cee8f476" }, + "telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" }, + "telescope.nvim": { "branch": "0.1.x", "commit": "9de317bdea2bc393074651179c4fc7f93e9b2d56" }, + "tmux.nvim": { "branch": "main", "commit": "b6da35847df972f50df27d938b6e5ea09bcc8391" }, + "toggleterm.nvim": { "branch": "main", "commit": "2e477f7ee8ee8229ff3158e3018a067797b9cd38" }, + "tokyonight.nvim": { "branch": "main", "commit": "1b0c88094548a62641ece1e668fa9a234e1c539e" }, + "vim-fugitive": { "branch": "master", "commit": "e6651a79facf5cc2b7c554fdc19eb8a9fe89602c" }, + "vim-illuminate": { "branch": "master", "commit": "a2907275a6899c570d16e95b9db5fd921c167502" }, + "vim-sandwich": { "branch": "master", "commit": "c5a2cc438ce6ea2005c556dc833732aa53cae21a" }, + "which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" } +} \ No newline at end of file diff --git a/mako/.config/mako/config b/mako/.config/mako/config new file mode 100644 index 0000000..d673539 --- /dev/null +++ b/mako/.config/mako/config @@ -0,0 +1,24 @@ +background-color=#282828 +progress-color=source #81a1c1 +text-color=#eceff4 +padding=15 +outer-margin=9 +default-timeout=5000 +margin=5 + +border-size=2 +border-radius=5 +border-color=#a3be8c + +[urgency=low] +border-color=#434c5e + +[urgency=normal] +border-color=#a3be8c + +[urgency=high] +border-color=#bf616a +default-timeout=0 + +layer=overlay +on-button-middle=exec makoctl menu -n "$id" wofi -d -p 'Select action: ' diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 93b5323..b7771d8 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -15,7 +15,7 @@ exec mako exec udiskie # night light and some gamma decrease -exec wlsunset -l 45.6 -L -73.5 -g 0.8 +exec wlsunset -l 45.6 -L -73.5 -g 0.7 # bspwm throw back exec /usr/bin/autotiling @@ -61,6 +61,12 @@ client.placeholder #000000 #0c0c0c #eceff4 #000000 #0c0c0c gaps inner 6 gaps outer 3 +# Key repeat rate +input type:keyboard { + repeat_delay 300 + repeat_rate 30 +} + ### Output configuration output * bg /home/minhradz/Downloads/wall.png fill