summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/hypr/conf/keybinds.conf4
-rw-r--r--.config/nvim/after/plugin/autocmds.lua17
-rw-r--r--.config/nvim/after/plugin/autocmds.vim5
-rw-r--r--.config/user-dirs.dirs2
4 files changed, 10 insertions, 18 deletions
diff --git a/.config/hypr/conf/keybinds.conf b/.config/hypr/conf/keybinds.conf
index b192c5d..82b26ba 100644
--- a/.config/hypr/conf/keybinds.conf
+++ b/.config/hypr/conf/keybinds.conf
@@ -38,8 +38,8 @@ bindl = , XF86AudioPrev, exec, playerctl previous
38# Optionally, customize slurp's appearance 38# Optionally, customize slurp's appearance
39env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff 39env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff
40 40
41bind = ,Print, exec, ~/.local/bin/screenshot.sh 41bind = SHIFT, Print, exec, grimblast copysave area
42bind = SHIFT, Print, exec, grimblast copy area 42bind = ,Print, exec, grimblast copy area
43 43
44# Move focus 44# Move focus
45bind = $mainMod, code:43, movefocus, l 45bind = $mainMod, code:43, movefocus, l
diff --git a/.config/nvim/after/plugin/autocmds.lua b/.config/nvim/after/plugin/autocmds.lua
index 3751cd4..3356a49 100644
--- a/.config/nvim/after/plugin/autocmds.lua
+++ b/.config/nvim/after/plugin/autocmds.lua
@@ -1,3 +1,5 @@
1-- https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
2
1local function augroup(name) 3local function augroup(name)
2 return vim.api.nvim_create_augroup("lazyvim_" .. name, { clear = true }) 4 return vim.api.nvim_create_augroup("lazyvim_" .. name, { clear = true })
3end 5end
@@ -33,21 +35,6 @@ vim.api.nvim_create_autocmd(
33 } 35 }
34) 36)
35 37
36-- Set vimwiki filetype
37vim.api.nvim_create_autocmd(
38 {
39 "BufNewFile",
40 "BufRead",
41 },
42 {
43 pattern = "PKGBUILD",
44 callback = function()
45 local buf = vim.api.nvim_get_current_buf()
46 vim.api.nvim_set_option_value("filetype", "*.wiki", { buf = buf })
47 end
48 }
49)
50
51-- Set buku-edit filetype 38-- Set buku-edit filetype
52vim.api.nvim_create_autocmd( 39vim.api.nvim_create_autocmd(
53 { 40 {
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim
index ae55046..21c7bc4 100644
--- a/.config/nvim/after/plugin/autocmds.vim
+++ b/.config/nvim/after/plugin/autocmds.vim
@@ -1,2 +1,7 @@
1" I don't know how to port this yet 1" I don't know how to port this yet
2autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif 2autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
3
4augroup vimwiki
5 autocmd!
6 autocmd BufRead,BufNewFile *.wiki set filetype=vimwiki
7augroup END
diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs
index 7723b1b..e13a65c 100644
--- a/.config/user-dirs.dirs
+++ b/.config/user-dirs.dirs
@@ -13,4 +13,4 @@ XDG_PUBLICSHARE_DIR="$HOME/.local/share/publicshare"
13XDG_MUSIC_DIR="$HOME/music" 13XDG_MUSIC_DIR="$HOME/music"
14XDG_PICTURES_DIR="$HOME/desk/pics" 14XDG_PICTURES_DIR="$HOME/desk/pics"
15XDG_VIDEOS_DIR="$HOME/desk/vids" 15XDG_VIDEOS_DIR="$HOME/desk/vids"
16XDG_SCREENSHOTS_DIR="$HOME/pics/screenshots" 16XDG_SCREENSHOTS_DIR="$HOME/desk/pics/screenshots"