From 7e6be8be3b6e228c09c35b2432dec9f21fd0be41 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 10 Jan 2024 10:56:39 +0100 Subject: [PATCH] cleanup --- .config/X11/xprofile | 2 -- .config/lf/lfrc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/X11/xprofile b/.config/X11/xprofile index f1406b9f..19506032 100755 --- a/.config/X11/xprofile +++ b/.config/X11/xprofile @@ -1,10 +1,8 @@ #!/bin/sh dmenupasspath="$(which dmenupass)" -export XCURSOR_PATH="${XDG_DATA_HOME:-$HOME/.local/share}/icons" export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm 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 ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors" diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 30d95cdb..7c5d44c9 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -41,7 +41,7 @@ cmd trash &{{ cmd lazygit ${{ clear - if ! git -C $PWD status; then + if ! git -C $PWD status >/dev/null 2>&1; then [ $(echo "Yes\nNo" | fzf --header="Not in a git repository. Create a new git repository? (y/n): ") = "Yes" ] && git init && lazygit else lazygit