1
0
Fork 0

minor tweaks/fixes

This commit is contained in:
Luca Bilke 2024-01-31 00:55:55 +01:00
parent 77df7c7df3
commit a279b37728
9 changed files with 37 additions and 29 deletions

View file

@ -6,3 +6,5 @@ export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
export SUDO_ASKPASS="$dmenupasspath"
export MOZ_USE_XINPUT2="1" # Mozilla smooth scrolling/touchpads.
export AWT_TOOLKIT="MToolkit wmname LG3D" #May have to install wmname
export XDG_SESSION_TYPE=X11

View file

@ -16,24 +16,24 @@ Xcursor.theme: tokyonight
/* white 7 15 */
! TokyoNight colors for Xresources
*.background: #1a1b26
*.foreground: #c0caf5
*.color0: #15161E
*.color1: #f7768e
*.color2: #9ece6a
*.color3: #e0af68
*.color4: #7aa2f7
*.color5: #bb9af7
*.color6: #7dcfff
*.color7: #a9b1d6
*.color8: #414868
*.color9: #f7768e
*.color10: #9ece6a
*.color11: #e0af68
*.color12: #7aa2f7
*.color13: #bb9af7
*.color14: #7dcfff
*.color15: #c0caf5
! *.background: #1a1b26
! *.foreground: #c0caf5
! *.color0: #15161E
! *.color1: #f7768e
! *.color2: #9ece6a
! *.color3: #e0af68
! *.color4: #7aa2f7
! *.color5: #bb9af7
! *.color6: #7dcfff
! *.color7: #a9b1d6
! *.color8: #414868
! *.color9: #f7768e
! *.color10: #9ece6a
! *.color11: #e0af68
! *.color12: #7aa2f7
! *.color13: #bb9af7
! *.color14: #7dcfff
! *.color15: #c0caf5
! TokyoNight colors for Xresources
! *.background: #24283b

View file

@ -5,7 +5,7 @@ start() {
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 remaps -qd
start checkup

View file

@ -1,6 +1,6 @@
gui:
nerdFontsVersion: "3"
mouseEvents: false
# mouseEvents: false
update:
days: 1
refresher:

View file

@ -157,6 +157,12 @@ cmd set_previewer %{{
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
map <c-c>a fzfsearch
@ -190,7 +196,7 @@ map u :clear; unselect
map n &echo $f | xclip -r -selection c
map <esc> quit
map g/ cd "/"
map W &$TERMINAL -d $PWD
map W new_lf_term
map e $$EDITOR $f
map E $sudo -e $f

View file

@ -35,7 +35,7 @@ o.scrolloff = 8
o.sidescrolloff = 8
o.undofile = true
o.title = true
o.mouse = ""
-- o.mouse = ""
o.backspace = "indent,eol,start"
o.termguicolors = true
o.timeoutlen = 500

View file

@ -14,7 +14,7 @@ local opts = function()
path_display = { "truncate" },
sorting_startegy = "ascending",
layout_config = {
horizontal = { prompt_position = "top", preview_width = 0.5 },
horizontal = { prompt_position = "top", preview_width = 0.7 },
vertical = { mirror = false },
width = 0.87,
height = 0.80,

View file

@ -1,5 +1,5 @@
#!/bin/sh
while :; do
watch -gn1 eval 'xinput --list | grep keyboard' >/dev/null 2>&1
remaps -q
remaps -qd
done

View file

@ -1,10 +1,10 @@
#!/bin/sh
BOLD='\033[1m'
GREEN='\033[32m'
BLUE='\033[34m'
RED='\033[31m'
NC='\033[0m'
BOLD="$(tput bold)"
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
BLUE="$(tput setaf 4)"
NC="$(tput sgr0)"
dgit() {
# shellcheck disable=2068