1
0
Fork 0
This commit is contained in:
Luca Bilke 2024-01-10 10:56:39 +01:00
parent 09d30f7bf7
commit 7e6be8be3b
2 changed files with 1 additions and 3 deletions

View file

@ -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"

View file

@ -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