minor tweaks/fixes
This commit is contained in:
parent
77df7c7df3
commit
a279b37728
9 changed files with 37 additions and 29 deletions
.config
X11
lazygit
lf
nvim/lua
.local/bin
|
@ -6,3 +6,5 @@ export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
|
||||||
export SUDO_ASKPASS="$dmenupasspath"
|
export SUDO_ASKPASS="$dmenupasspath"
|
||||||
export MOZ_USE_XINPUT2="1" # Mozilla smooth scrolling/touchpads.
|
export MOZ_USE_XINPUT2="1" # Mozilla smooth scrolling/touchpads.
|
||||||
export AWT_TOOLKIT="MToolkit wmname LG3D" #May have to install wmname
|
export AWT_TOOLKIT="MToolkit wmname LG3D" #May have to install wmname
|
||||||
|
|
||||||
|
export XDG_SESSION_TYPE=X11
|
||||||
|
|
|
@ -16,24 +16,24 @@ Xcursor.theme: tokyonight
|
||||||
/* white 7 15 */
|
/* white 7 15 */
|
||||||
|
|
||||||
! TokyoNight colors for Xresources
|
! TokyoNight colors for Xresources
|
||||||
*.background: #1a1b26
|
! *.background: #1a1b26
|
||||||
*.foreground: #c0caf5
|
! *.foreground: #c0caf5
|
||||||
*.color0: #15161E
|
! *.color0: #15161E
|
||||||
*.color1: #f7768e
|
! *.color1: #f7768e
|
||||||
*.color2: #9ece6a
|
! *.color2: #9ece6a
|
||||||
*.color3: #e0af68
|
! *.color3: #e0af68
|
||||||
*.color4: #7aa2f7
|
! *.color4: #7aa2f7
|
||||||
*.color5: #bb9af7
|
! *.color5: #bb9af7
|
||||||
*.color6: #7dcfff
|
! *.color6: #7dcfff
|
||||||
*.color7: #a9b1d6
|
! *.color7: #a9b1d6
|
||||||
*.color8: #414868
|
! *.color8: #414868
|
||||||
*.color9: #f7768e
|
! *.color9: #f7768e
|
||||||
*.color10: #9ece6a
|
! *.color10: #9ece6a
|
||||||
*.color11: #e0af68
|
! *.color11: #e0af68
|
||||||
*.color12: #7aa2f7
|
! *.color12: #7aa2f7
|
||||||
*.color13: #bb9af7
|
! *.color13: #bb9af7
|
||||||
*.color14: #7dcfff
|
! *.color14: #7dcfff
|
||||||
*.color15: #c0caf5
|
! *.color15: #c0caf5
|
||||||
|
|
||||||
! TokyoNight colors for Xresources
|
! TokyoNight colors for Xresources
|
||||||
! *.background: #24283b
|
! *.background: #24283b
|
||||||
|
|
|
@ -5,7 +5,7 @@ start() {
|
||||||
pidof -sx $1 || $@ >"${HOME}/.local/log/${1}.log" 2>&1 &
|
pidof -sx $1 || $@ >"${HOME}/.local/log/${1}.log" 2>&1 &
|
||||||
}
|
}
|
||||||
|
|
||||||
start xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/bg"
|
start xwallpaper --zoom "${XDG_DATA_HOME}/bg"
|
||||||
start pipewire
|
start pipewire
|
||||||
start remaps -qd
|
start remaps -qd
|
||||||
start checkup
|
start checkup
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
gui:
|
gui:
|
||||||
nerdFontsVersion: "3"
|
nerdFontsVersion: "3"
|
||||||
mouseEvents: false
|
# mouseEvents: false
|
||||||
update:
|
update:
|
||||||
days: 1
|
days: 1
|
||||||
refresher:
|
refresher:
|
||||||
|
|
|
@ -157,6 +157,12 @@ cmd set_previewer %{{
|
||||||
fi
|
fi
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
# HACK: This is a dirty hack to have an lf terminal that I can "exit" out of into a shell
|
||||||
|
cmd new_lf_term &{{
|
||||||
|
mapcmd='map q $tmux'
|
||||||
|
previewercmd="set_previewer $(basename "$lf_previewer")"
|
||||||
|
$TERMINAL -e lf -command "${previewercmd}; ${mapcmd}"
|
||||||
|
}}
|
||||||
|
|
||||||
# Bindings
|
# Bindings
|
||||||
map <c-c>a fzfsearch
|
map <c-c>a fzfsearch
|
||||||
|
@ -190,7 +196,7 @@ map u :clear; unselect
|
||||||
map n &echo $f | xclip -r -selection c
|
map n &echo $f | xclip -r -selection c
|
||||||
map <esc> quit
|
map <esc> quit
|
||||||
map g/ cd "/"
|
map g/ cd "/"
|
||||||
map W &$TERMINAL -d $PWD
|
map W new_lf_term
|
||||||
map e $$EDITOR $f
|
map e $$EDITOR $f
|
||||||
map E $sudo -e $f
|
map E $sudo -e $f
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ o.scrolloff = 8
|
||||||
o.sidescrolloff = 8
|
o.sidescrolloff = 8
|
||||||
o.undofile = true
|
o.undofile = true
|
||||||
o.title = true
|
o.title = true
|
||||||
o.mouse = ""
|
-- o.mouse = ""
|
||||||
o.backspace = "indent,eol,start"
|
o.backspace = "indent,eol,start"
|
||||||
o.termguicolors = true
|
o.termguicolors = true
|
||||||
o.timeoutlen = 500
|
o.timeoutlen = 500
|
||||||
|
|
|
@ -14,7 +14,7 @@ local opts = function()
|
||||||
path_display = { "truncate" },
|
path_display = { "truncate" },
|
||||||
sorting_startegy = "ascending",
|
sorting_startegy = "ascending",
|
||||||
layout_config = {
|
layout_config = {
|
||||||
horizontal = { prompt_position = "top", preview_width = 0.5 },
|
horizontal = { prompt_position = "top", preview_width = 0.7 },
|
||||||
vertical = { mirror = false },
|
vertical = { mirror = false },
|
||||||
width = 0.87,
|
width = 0.87,
|
||||||
height = 0.80,
|
height = 0.80,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
while :; do
|
while :; do
|
||||||
watch -gn1 eval 'xinput --list | grep keyboard' >/dev/null 2>&1
|
watch -gn1 eval 'xinput --list | grep keyboard' >/dev/null 2>&1
|
||||||
remaps -q
|
remaps -qd
|
||||||
done
|
done
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
BOLD='\033[1m'
|
BOLD="$(tput bold)"
|
||||||
GREEN='\033[32m'
|
RED="$(tput setaf 1)"
|
||||||
BLUE='\033[34m'
|
GREEN="$(tput setaf 2)"
|
||||||
RED='\033[31m'
|
BLUE="$(tput setaf 4)"
|
||||||
NC='\033[0m'
|
NC="$(tput sgr0)"
|
||||||
|
|
||||||
dgit() {
|
dgit() {
|
||||||
# shellcheck disable=2068
|
# shellcheck disable=2068
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue