173 current 2025-01-03 00:26:53 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -18,7 +18,7 @@ bottom = false
|
||||
line-size = 3
|
||||
;locale = tr_TR.UTF-8
|
||||
|
||||
width = 99.7%
|
||||
width = 99.5%
|
||||
height = 20
|
||||
offset-x = 4
|
||||
offset-y = 3
|
||||
|
||||
@@ -33,6 +33,6 @@ in {
|
||||
home.activation.copyPolybarScriptsDir = lib.mkAfter ''
|
||||
mkdir -p ~/.config/polybar/scripts
|
||||
cp -r ${./scripts}/* ~/.config/polybar/scripts
|
||||
chmod -R u+w ~/.config/polybar/scripts
|
||||
chmod -R +x ~/.config/polybar/scripts
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ pushd /home/synchronous/nix-cfg
|
||||
|
||||
# Early return if no changes were detected (thanks @singiamtel!)
|
||||
git --git-dir /home/synchronous/nix-cfg/.git add .
|
||||
if git --git-dir /home/synchronous/nix-cfg/.git diff --quiet; then
|
||||
if git --git-dir /home/synchronous/nix-cfg/.git diff --cached --quiet; then
|
||||
echo "No changes detected, exiting."
|
||||
popd
|
||||
exit 0
|
||||
@@ -46,7 +46,7 @@ fi
|
||||
current=$(nixos-rebuild list-generations | grep current)
|
||||
|
||||
# Commit all changes witih the generation metadata
|
||||
# git --git-dir /home/synchronous/nix-cfg/.git add .
|
||||
git --git-dir /home/synchronous/nix-cfg/.git add .
|
||||
git --git-dir /home/synchronous/nix-cfg/.git commit -am "$current"
|
||||
|
||||
# Back to where you were
|
||||
|
||||
Reference in New Issue
Block a user