aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--X11/openbox/rc.xml2
-rwxr-xr-xX11/rofi/pass.edit2
-rwxr-xr-xX11/rofi/rofi-pass1
-rwxr-xr-xbin/init/load-settings.sh2
-rw-r--r--init.vim8
-rw-r--r--nvim.lua5
6 files changed, 11 insertions, 9 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml
index d04e3b1..8ffab47 100644
--- a/X11/openbox/rc.xml
+++ b/X11/openbox/rc.xml
@@ -778,7 +778,7 @@
778 <keybind key="C-S-R"> 778 <keybind key="C-S-R">
779 <action name="Reconfigure"/> 779 <action name="Reconfigure"/>
780 </keybind> 780 </keybind>
781 <keybind key="W-Escape"> 781 <keybind key="W-S-Escape">
782 <action name="Execute"> 782 <action name="Execute">
783 <command>xkill</command> 783 <command>xkill</command>
784 </action> 784 </action>
diff --git a/X11/rofi/pass.edit b/X11/rofi/pass.edit
index 2c0eeea..bfbdc31 100755
--- a/X11/rofi/pass.edit
+++ b/X11/rofi/pass.edit
@@ -16,5 +16,5 @@ fi
16 16
17# Use detected terminal emulator to edit password 17# Use detected terminal emulator to edit password
18coproc ( 18coproc (
19 $terminal -e pass edit $1 && $(dirname $0)/pass.get $1 19 EDITOR=nvim $terminal -e pass edit $1 && $(dirname $0)/pass.get $1
20) 20)
diff --git a/X11/rofi/rofi-pass b/X11/rofi/rofi-pass
index 498fa62..9e16bc8 100755
--- a/X11/rofi/rofi-pass
+++ b/X11/rofi/rofi-pass
@@ -1,6 +1,7 @@
1#! /bin/bash 1#! /bin/bash
2 2
3export terminal=${terminal:-alacritty} 3export terminal=${terminal:-alacritty}
4export EDITOR=${EDITOR:-vim}
4 5
5cd $(dirname $0) 6cd $(dirname $0)
6 7
diff --git a/bin/init/load-settings.sh b/bin/init/load-settings.sh
index 00f8c1e..f82bc88 100755
--- a/bin/init/load-settings.sh
+++ b/bin/init/load-settings.sh
@@ -1,4 +1,4 @@
1trap 'exit.sh' EXIT 1# trap 'exit.sh' EXIT
2 2
3export SETTING_DIR=${SETTING_DIR:=$HOME/helper} 3export SETTING_DIR=${SETTING_DIR:=$HOME/helper}
4export BIN_DIR=~/bin 4export BIN_DIR=~/bin
diff --git a/init.vim b/init.vim
index 6b31c8e..d8b326e 100644
--- a/init.vim
+++ b/init.vim
@@ -35,15 +35,13 @@ source ~/.vim/vim-init/init/init-keymaps.vim
35" 设定 tabsize 35" 设定 tabsize
36" source ~/.vim/vim-init/init/init-tabsize.vim 36" source ~/.vim/vim-init/init/init-tabsize.vim
37 37
38" Plugins 38" Set UI theme
39colorscheme desert
39 40
40" Neovim 41" Neovim
41if has('nvim') 42if has('nvim')
42 source ~/.config/nvim/nvim.lua 43 source ~/.config/nvim/nvim.lua
43else 44else
45" Plugin
44 source ~/.vim/vim-init/init/init-plugins.vim 46 source ~/.vim/vim-init/init/init-plugins.vim
45endif 47endif
46
47" Set UI theme
48colorscheme desert
49highlight MatchParen cterm=bold ctermbg=none ctermfg=magenta
diff --git a/nvim.lua b/nvim.lua
index ec37482..d281bf4 100644
--- a/nvim.lua
+++ b/nvim.lua
@@ -142,7 +142,7 @@ require('lazy').setup({
142 'navarasu/onedark.nvim', 142 'navarasu/onedark.nvim',
143 priority = 1000, 143 priority = 1000,
144 config = function() 144 config = function()
145 vim.cmd.colorscheme 'onedark' 145 -- vim.cmd.colorscheme 'onedark'
146 end, 146 end,
147 }, 147 },
148 148
@@ -495,6 +495,9 @@ local servers = {
495 telemetry = { enable = false }, 495 telemetry = { enable = false },
496 }, 496 },
497 }, 497 },
498 stylelint_lsp = {
499 rootPatterns = {'.stylelintrc'},
500 },
498} 501}
499 502
500-- Setup neovim lua configuration 503-- Setup neovim lua configuration