cleanup
This commit is contained in:
parent
09d30f7bf7
commit
7e6be8be3b
2 changed files with 1 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
dmenupasspath="$(which dmenupass)"
|
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 _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
|
||||||
export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
|
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 ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ cmd trash &{{
|
||||||
|
|
||||||
cmd lazygit ${{
|
cmd lazygit ${{
|
||||||
clear
|
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
|
[ $(echo "Yes\nNo" | fzf --header="Not in a git repository. Create a new git repository? (y/n): ") = "Yes" ] && git init && lazygit
|
||||||
else
|
else
|
||||||
lazygit
|
lazygit
|
||||||
|
|
Loading…
Add table
Reference in a new issue