debug bash overlap because custom prompt errors\nadd nvidia kernel config

This commit is contained in:
SALVI Jérémie
2024-08-16 18:24:01 +02:00
parent 437ffecd44
commit ceda24609a
7 changed files with 14 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ _git () {
_ORIGIN="$(git remote show)"
_AHEAD=$(git rev-list --left-right --count "$_BRANCH"..."$_ORIGIN"/"$_BRANCH" | cut -f 1)
_BEHIND=$(git rev-list --left-right --count "$_BRANCH"..."$_ORIGIN"/"$_BRANCH" | cut -f 2)
printf "  %s " "$(git branch --show-current)"
printf " %s " "$(git branch --show-current)"
if (( _MODIFIED == 0 )) && (( _UNTRACKED == 0 )) && (( _AHEAD == 0 )) && (( _BEHIND == 0 ))
then
printf ""

View File

@@ -1,5 +1,6 @@
#!/bin/bash
sleep 1
import -window root /tmp/screenshot.png
convert /tmp/screenshot.png -blur 15x15 /tmp/screenshot_blur.png
i3lock -i /tmp/screenshot_blur.png