177 current 2025-01-03 00:58:33 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-01-03 00:58:42 -05:00
parent 60f119dc83
commit a325591d84
2 changed files with 8 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ bottom = false
line-size = 3
;locale = tr_TR.UTF-8
width = 99.4%
width = 99.5%
height = 20
offset-x = 4
offset-y = 3

View File

@@ -3,13 +3,10 @@
# set -e
# Edit your config
# $EDITOR configuration.nix
# cd to your config dir
pushd /home/synchronous/nix-cfg
# Early return if no changes were detected (thanks @singiamtel!)
# early return if no changes are given
git --git-dir /home/synchronous/nix-cfg/.git add .
if git --git-dir /home/synchronous/nix-cfg/.git diff-index --quiet HEAD; then
echo "No changes detected, exiting."
@@ -21,12 +18,16 @@ fi
alejandra . &>/dev/null \
|| ( alejandra . ; echo "formatting failed!" && exit 1)
# Shows your changes
# shows changes between last commit and head
# git --git-dir /home/synchronous/nix-cfg/.git add .
git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0
# git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0
git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff HEAD -U0
# '*.nix'
echo "summary:"
git status --porcelain
echo ""
echo "NixOS Rebuilding..."