emacs changes/disabling swayidle in the mean time
This commit is contained in:
parent
19ca8a0e8a
commit
c60ce8997c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
wallpaper/
|
@ -25,7 +25,9 @@ export GTK_IM_MODULE=ibus
|
|||||||
export XMODIFIERS=@im=ibus
|
export XMODIFIERS=@im=ibus
|
||||||
export QT_IM_MODULE=ibus
|
export QT_IM_MODULE=ibus
|
||||||
|
|
||||||
alias mpv="mpv --hwdec=vaapi"
|
alias arduino="_JAVA_AWT_WM_NONREPARENTING=1 arduino"
|
||||||
|
|
||||||
|
export VDPAU_DRIVER=va_gl
|
||||||
|
|
||||||
export GPG_TYY=$(tty)
|
export GPG_TYY=$(tty)
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
;; + `doom-variable-pitch-font'
|
;; + `doom-variable-pitch-font'
|
||||||
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||||
;; presentations or streaming.
|
;; presentations or streaming.
|
||||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 16)
|
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 18)
|
||||||
doom-big-font (font-spec :family "JetBrainsMono Nerd Font" :size 26)
|
doom-big-font (font-spec :family "JetBrainsMono Nerd Font" :size 26)
|
||||||
doom-variable-pitch-font (font-spec :family "Overpass" :size 16)
|
doom-variable-pitch-font (font-spec :family "Overpass" :size 16)
|
||||||
doom-unicode-font (font-spec :family "JuliaMono")
|
doom-unicode-font (font-spec :family "JuliaMono")
|
||||||
@ -24,19 +24,7 @@
|
|||||||
|
|
||||||
(setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png")
|
(setq fancy-splash-image "/home/minhradz/.doom.d/marivector.png")
|
||||||
|
|
||||||
(defun synchronize-theme ()
|
(setq doom-theme 'doom-nord)
|
||||||
(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)
|
|
||||||
(load-theme next-theme t))))
|
|
||||||
|
|
||||||
(run-with-timer 0 900 'synchronize-theme)
|
|
||||||
|
|
||||||
(with-eval-after-load 'doom-themes
|
(with-eval-after-load 'doom-themes
|
||||||
(doom-themes-treemacs-config))
|
(doom-themes-treemacs-config))
|
||||||
@ -164,3 +152,5 @@
|
|||||||
(map! :leader
|
(map! :leader
|
||||||
:desc "Insert node immediately"
|
:desc "Insert node immediately"
|
||||||
"n r I" #'org-roam-node-insert-immediate)
|
"n r I" #'org-roam-node-insert-immediate)
|
||||||
|
|
||||||
|
(setq inhibit-x-resources t)
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("7eea50883f10e5c6ad6f81e153c640b3a288cd8dc1d26e4696f7d40f754cc703" "5784d048e5a985627520beb8a101561b502a191b52fa401139f4dd20acb07607" "e3b2bad7b781a968692759ad12cb6552bc39d7057762eefaf168dbe604ce3a4b" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "d268b67e0935b9ebc427cad88ded41e875abfcc27abd409726a92e55459e0d01" default))
|
'("7eea50883f10e5c6ad6f81e153c640b3a288cd8dc1d26e4696f7d40f754cc703" "5784d048e5a985627520beb8a101561b502a191b52fa401139f4dd20acb07607" "e3b2bad7b781a968692759ad12cb6552bc39d7057762eefaf168dbe604ce3a4b" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "d268b67e0935b9ebc427cad88ded41e875abfcc27abd409726a92e55459e0d01" default))
|
||||||
'(git-gutter:update-interval 1)
|
'(git-gutter:update-interval 1)
|
||||||
|
'(smtpmail-smtp-server "smtp.gmail.com")
|
||||||
|
'(smtpmail-smtp-service 25)
|
||||||
'(warning-suppress-log-types '((iedit) (iedit) (iedit) (iedit) (iedit) (iedit) (iedit)))
|
'(warning-suppress-log-types '((iedit) (iedit) (iedit) (iedit) (iedit) (iedit) (iedit)))
|
||||||
'(warning-suppress-types
|
'(warning-suppress-types
|
||||||
'((org-load-hook)
|
'((org-load-hook)
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
;;parinfer ; turn lisp into python, sort of
|
;;parinfer ; turn lisp into python, sort of
|
||||||
;;rotate-text ; cycle region at point between text candidates
|
;;rotate-text ; cycle region at point between text candidates
|
||||||
snippets ; my elves. They type so I don't have to
|
snippets ; my elves. They type so I don't have to
|
||||||
word-wrap ; soft wrapping with language-aware indent
|
;;word-wrap ; soft wrapping with language-aware indent
|
||||||
|
|
||||||
:emacs
|
:emacs
|
||||||
(dired +icons +ranger) ; making dired pretty [functional]
|
(dired +icons +ranger) ; making dired pretty [functional]
|
||||||
@ -89,7 +89,7 @@
|
|||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||||
ein ; tame Jupyter notebooks with emacs
|
ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
lsp ; M-x vscode
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
@ -115,22 +115,22 @@
|
|||||||
common-lisp ; if you've seen one lisp, you've seen them all
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
csharp ; unity, .NET, and mono shenanigans
|
||||||
;;data ; config/data formats
|
;;data ; config/data formats
|
||||||
;;(dart +flutter) ; paint ui and not much else
|
;;(dart +flutter) ; paint ui and not much else
|
||||||
;;dhall
|
;;dhall
|
||||||
;;elixir ; erlang done right
|
elixir ; erlang done right
|
||||||
;;elm ; care for a cup of TEA?
|
;;elm ; care for a cup of TEA?
|
||||||
emacs-lisp ; drown in parentheses
|
emacs-lisp ; drown in parentheses
|
||||||
;;erlang ; an elegant language for a more civilized age
|
erlang ; an elegant language for a more civilized age
|
||||||
;;ess ; emacs speaks statistics
|
;;ess ; emacs speaks statistics
|
||||||
;;factor
|
;;factor
|
||||||
;;faust ; dsp, but you get to keep your soul
|
;;faust ; dsp, but you get to keep your soul
|
||||||
;;fsharp ; ML stands for Microsoft's Language
|
;;fsharp ; ML stands for Microsoft's Language
|
||||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||||
;;gdscript ; the language you waited for
|
;;gdscript ; the language you waited for
|
||||||
;;(go +lsp) ; the hipster dialect
|
(go +lsp) ; the hipster dialect
|
||||||
;;(haskell +dante) ; a language that's lazier than I am
|
(haskell +dante) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
json ; At least it ain't XML
|
json ; At least it ain't XML
|
||||||
@ -170,7 +170,7 @@
|
|||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
;;(mu4e +org +gmail)
|
;;(mu4e +gmail +org)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ set fish_bind_mode insert
|
|||||||
|
|
||||||
alias rm 'rm -i'
|
alias rm 'rm -i'
|
||||||
alias nnn 'nnn -e'
|
alias nnn 'nnn -e'
|
||||||
alias mpv 'mpv --hwdec=vaapi'
|
|
||||||
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 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'
|
||||||
@ -17,6 +16,8 @@ set -gx XDG_CURRENT_DESKTOP sway
|
|||||||
set -gx MOZ_ENABLE_WAYLAND 1
|
set -gx MOZ_ENABLE_WAYLAND 1
|
||||||
set -gx QT_AUTO_SCREEN_SCALE_FACTOR 1
|
set -gx QT_AUTO_SCREEN_SCALE_FACTOR 1
|
||||||
|
|
||||||
|
set -gx VDPAU_DRIVER va_gl
|
||||||
|
|
||||||
set -Ux GTK_IM_MODULE ibus
|
set -Ux GTK_IM_MODULE ibus
|
||||||
set -Ux QT_IM_MODULE ibus
|
set -Ux QT_IM_MODULE ibus
|
||||||
set -Ux XMODIFIERS @im=ibus
|
set -Ux XMODIFIERS @im=ibus
|
||||||
@ -26,6 +27,8 @@ set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
|||||||
|
|
||||||
set -gx LC_ALL en_US.UTF-8
|
set -gx LC_ALL en_US.UTF-8
|
||||||
|
|
||||||
set -x PATH /usr/libexec /usr/local/bin /home/minhradz/.cargo/bin /home/minhradz/.local/bin $PATH
|
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 $PATH
|
||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
@ -24,3 +24,5 @@
|
|||||||
|
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = delta --color-only
|
diffFilter = delta --color-only
|
||||||
|
[github]
|
||||||
|
user = minhtrannhat
|
||||||
|
@ -68,9 +68,20 @@ lvim.plugins = {
|
|||||||
},
|
},
|
||||||
{ "andweeb/presence.nvim" },
|
{ "andweeb/presence.nvim" },
|
||||||
{ "tpope/vim-fugitive" },
|
{ "tpope/vim-fugitive" },
|
||||||
|
{ "TimUntersberger/neogit", requires = "nvim-lua/plenary.nvim" },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- The setup config table shows all available config options with their default values:
|
-- Neogit - A emacs magit clone
|
||||||
|
local neogit = require("neogit")
|
||||||
|
|
||||||
|
neogit.setup({})
|
||||||
|
|
||||||
|
lvim.builtin.which_key.mappings["gg"] = {
|
||||||
|
"<cmd>Neogit kind=split<CR>",
|
||||||
|
"Neogit",
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Discord stuffs
|
||||||
require("presence"):setup({
|
require("presence"):setup({
|
||||||
-- General options
|
-- General options
|
||||||
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
|
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
|
||||||
@ -84,16 +95,11 @@ require("presence"):setup({
|
|||||||
buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table)
|
buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table)
|
||||||
|
|
||||||
-- Rich Presence text options
|
-- Rich Presence text options
|
||||||
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
|
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer
|
||||||
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
|
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer
|
||||||
git_commit_text = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string)
|
git_commit_text = "Committing changes", -- Format string rendered when commiting changes in git
|
||||||
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
|
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins
|
||||||
reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
|
reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer
|
||||||
workspace_text = "Working on %s", -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
|
workspace_text = "Working on %s", -- Workspace format string (either string or function(git_project_name: string|nil, buffer: string): string)
|
||||||
line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
|
line_number_text = "Line %s out of %s", -- Line number format string (for when enable_line_number is set to true)
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Autocommands (https://neovim.io/doc/user/autocmd.html)
|
|
||||||
-- lvim.autocommands.custom_groups = {
|
|
||||||
-- { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" },
|
|
||||||
-- }
|
|
||||||
|
@ -57,7 +57,7 @@ end
|
|||||||
time([[Luarocks path setup]], false)
|
time([[Luarocks path setup]], false)
|
||||||
time([[try_loadstring definition]], true)
|
time([[try_loadstring definition]], true)
|
||||||
local function try_loadstring(s, component, name)
|
local function try_loadstring(s, component, name)
|
||||||
local success, result = pcall(loadstring(s))
|
local success, result = pcall(loadstring(s), name, _G.packer_plugins[name])
|
||||||
if not success then
|
if not success then
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
|
vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
|
||||||
@ -83,6 +83,7 @@ _G.packer_plugins = {
|
|||||||
url = "https://github.com/antoinemadec/FixCursorHold.nvim"
|
url = "https://github.com/antoinemadec/FixCursorHold.nvim"
|
||||||
},
|
},
|
||||||
LuaSnip = {
|
LuaSnip = {
|
||||||
|
config = { "\27LJ\1\2M\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\14lazy_load luasnip/loaders/from_vscode\frequire\0" },
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/LuaSnip",
|
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/LuaSnip",
|
||||||
url = "https://github.com/L3MON4D3/LuaSnip"
|
url = "https://github.com/L3MON4D3/LuaSnip"
|
||||||
@ -155,6 +156,11 @@ _G.packer_plugins = {
|
|||||||
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/lualine.nvim",
|
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/lualine.nvim",
|
||||||
url = "https://github.com/nvim-lualine/lualine.nvim"
|
url = "https://github.com/nvim-lualine/lualine.nvim"
|
||||||
},
|
},
|
||||||
|
neogit = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/neogit",
|
||||||
|
url = "https://github.com/TimUntersberger/neogit"
|
||||||
|
},
|
||||||
["nlsp-settings.nvim"] = {
|
["nlsp-settings.nvim"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/nlsp-settings.nvim",
|
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/nlsp-settings.nvim",
|
||||||
@ -177,7 +183,7 @@ _G.packer_plugins = {
|
|||||||
url = "https://github.com/windwp/nvim-autopairs"
|
url = "https://github.com/windwp/nvim-autopairs"
|
||||||
},
|
},
|
||||||
["nvim-cmp"] = {
|
["nvim-cmp"] = {
|
||||||
config = { "\27LJ\1\2;\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\18lvim.core.cmp\frequire\0" },
|
config = { "\27LJ\1\2`\0\0\2\0\6\0\v4\0\0\0007\0\1\0007\0\2\0\15\0\0\0T\1\5€4\0\3\0%\1\4\0>\0\2\0027\0\5\0>\0\1\1G\0\1\0\nsetup\18lvim.core.cmp\frequire\bcmp\fbuiltin\tlvim\0" },
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/nvim-cmp",
|
path = "/home/minhradz/.local/share/lunarvim/site/pack/packer/start/nvim-cmp",
|
||||||
url = "https://github.com/hrsh7th/nvim-cmp"
|
url = "https://github.com/hrsh7th/nvim-cmp"
|
||||||
@ -282,6 +288,10 @@ _G.packer_plugins = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
time([[Defining packer_plugins]], false)
|
time([[Defining packer_plugins]], false)
|
||||||
|
-- Config for: LuaSnip
|
||||||
|
time([[Config for LuaSnip]], true)
|
||||||
|
try_loadstring("\27LJ\1\2M\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\14lazy_load luasnip/loaders/from_vscode\frequire\0", "config", "LuaSnip")
|
||||||
|
time([[Config for LuaSnip]], false)
|
||||||
-- Config for: nvim-treesitter
|
-- Config for: nvim-treesitter
|
||||||
time([[Config for nvim-treesitter]], true)
|
time([[Config for nvim-treesitter]], true)
|
||||||
try_loadstring("\27LJ\1\2B\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\25lvim.core.treesitter\frequire\0", "config", "nvim-treesitter")
|
try_loadstring("\27LJ\1\2B\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\25lvim.core.treesitter\frequire\0", "config", "nvim-treesitter")
|
||||||
@ -300,7 +310,7 @@ try_loadstring("\27LJ\1\2A\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G
|
|||||||
time([[Config for telescope.nvim]], false)
|
time([[Config for telescope.nvim]], false)
|
||||||
-- Config for: nvim-cmp
|
-- Config for: nvim-cmp
|
||||||
time([[Config for nvim-cmp]], true)
|
time([[Config for nvim-cmp]], true)
|
||||||
try_loadstring("\27LJ\1\2;\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\18lvim.core.cmp\frequire\0", "config", "nvim-cmp")
|
try_loadstring("\27LJ\1\2`\0\0\2\0\6\0\v4\0\0\0007\0\1\0007\0\2\0\15\0\0\0T\1\5€4\0\3\0%\1\4\0>\0\2\0027\0\5\0>\0\1\1G\0\1\0\nsetup\18lvim.core.cmp\frequire\bcmp\fbuiltin\tlvim\0", "config", "nvim-cmp")
|
||||||
time([[Config for nvim-cmp]], false)
|
time([[Config for nvim-cmp]], false)
|
||||||
-- Config for: nvim-autopairs
|
-- Config for: nvim-autopairs
|
||||||
time([[Config for nvim-autopairs]], true)
|
time([[Config for nvim-autopairs]], true)
|
||||||
@ -314,8 +324,8 @@ vim.cmd [[augroup packer_load_aucmds]]
|
|||||||
vim.cmd [[au!]]
|
vim.cmd [[au!]]
|
||||||
-- Event lazy-loads
|
-- Event lazy-loads
|
||||||
time([[Defining lazy-load event autocommands]], true)
|
time([[Defining lazy-load event autocommands]], true)
|
||||||
|
vim.cmd [[au BufWinEnter * ++once lua require("packer.load")({'dashboard-nvim', 'toggleterm.nvim', 'which-key.nvim', 'barbar.nvim'}, { event = "BufWinEnter *" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au BufReadPost * ++once lua require("packer.load")({'nvim-ts-context-commentstring'}, { event = "BufReadPost *" }, _G.packer_plugins)]]
|
vim.cmd [[au BufReadPost * ++once lua require("packer.load")({'nvim-ts-context-commentstring'}, { event = "BufReadPost *" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au BufWinEnter * ++once lua require("packer.load")({'toggleterm.nvim', 'which-key.nvim', 'barbar.nvim', 'dashboard-nvim'}, { event = "BufWinEnter *" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'lsp_signature.nvim'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'lsp_signature.nvim'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'gitsigns.nvim', 'Comment.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
vim.cmd [[au BufRead * ++once lua require("packer.load")({'gitsigns.nvim', 'Comment.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||||
time([[Defining lazy-load event autocommands]], false)
|
time([[Defining lazy-load event autocommands]], false)
|
||||||
|
@ -64,10 +64,10 @@ output HDMI-A-2 res 1920x1080 position 1920,0
|
|||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
exec swayidle -w \
|
# exec swayidle -w \
|
||||||
timeout 300 'swaylock -f -c 000000' \
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock -f -c 000000'
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
|
|
||||||
for_window [title="Firefox — Sharing Indicator"] floating enable
|
for_window [title="Firefox — Sharing Indicator"] floating enable
|
||||||
for_window [title="Firefox — Sharing Indicator"] nofocus
|
for_window [title="Firefox — Sharing Indicator"] nofocus
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 21 MiB |
Loading…
x
Reference in New Issue
Block a user