From 8f79c2be972ebd89a7f3cfee49b1f0fc8bb5d6c2 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Mon, 2 Dec 2024 12:58:56 -0700 Subject: [PATCH] Fix unnecessary padding for starship prompt date --- flake.lock | 42 ++++++++++++------------- home-manager/modules/shell/starship.nix | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index ceffe82..f5fd3ab 100755 --- a/flake.lock +++ b/flake.lock @@ -25,11 +25,11 @@ }, "locked": { "dir": "/pkgs/firefox-addons", - "lastModified": 1733087703, - "narHash": "sha256-WKdLy5t8SH9HBtajC8BZb+V4n0FaP71aUUYLuku46Rk=", + "lastModified": 1733135686, + "narHash": "sha256-++1Btq9w+ZPQYP45X3G1iXEXwllo3b2UdeKVwQdUAoQ=", "owner": "rycee", "repo": "nur-expressions", - "rev": "d4cbff4dda07726005224b33cf2cc5dc4a2c4211", + "rev": "074cadca26132cbd19f44ae5a45072f28f050ed9", "type": "gitlab" }, "original": { @@ -50,11 +50,11 @@ ] }, "locked": { - "lastModified": 1732670254, - "narHash": "sha256-5z4pN4FnhZ/LedFrMmEhzCqFORd2cj227Jm1I2Lj4Zg=", + "lastModified": 1733159850, + "narHash": "sha256-IrFkgBWFzzujwG4gt4iXj2ncx4BH3Yc4M5VdwN/Y/Ss=", "owner": "nix-community", "repo": "flake-firefox-nightly", - "rev": "c7eb601bd2d36aa4b9b6cdddc5793a36d77c0f06", + "rev": "d20be2e9c1b201e4253e79a200f0a2ed7fc27441", "type": "github" }, "original": { @@ -152,11 +152,11 @@ ] }, "locked": { - "lastModified": 1733085484, - "narHash": "sha256-dVmNuUajnU18oHzBQWZm1BQtANCHaqNuxTHZQ+GN0r8=", + "lastModified": 1733133928, + "narHash": "sha256-gU40r9AfpIr4eq+0noM8yH1Hxf+EA3dqfIpFtQl8Y1E=", "owner": "nix-community", "repo": "home-manager", - "rev": "c1fee8d4a60b89cae12b288ba9dbc608ff298163", + "rev": "873e39d5f4437d2f3ab06881fea8e63e45e1d011", "type": "github" }, "original": { @@ -172,11 +172,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1732450403, - "narHash": "sha256-qYjJeHYUHDgfDsvMpIf9TRz0oAoMwvYP75XHObDjWIg=", + "lastModified": 1733055216, + "narHash": "sha256-yB2y7tGJxDI/SDQ0D7b6ocRtLTPm93u8ybdIKQGXRDE=", "owner": "nix-community", "repo": "lib-aggregate", - "rev": "c817444fb8a3042c26be57d8640fb744bc1b516c", + "rev": "f67bf0781c69a46bf3a1469f83c98518aa3054c3", "type": "github" }, "original": { @@ -188,11 +188,11 @@ "mozilla": { "flake": false, "locked": { - "lastModified": 1704373101, - "narHash": "sha256-+gi59LRWRQmwROrmE1E2b3mtocwueCQqZ60CwLG+gbg=", + "lastModified": 1733136220, + "narHash": "sha256-Ga8AP/YPsKDVF5LcNN8v3RiLgnEeW7zBk9GyX7wa9Ug=", "owner": "mozilla", "repo": "nixpkgs-mozilla", - "rev": "9b11a87c0cc54e308fa83aac5b4ee1816d5418a2", + "rev": "ad7af231a95acf65ccc4afa0c766f5c0674ad3f1", "type": "github" }, "original": { @@ -223,11 +223,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1732837521, - "narHash": "sha256-jNRNr49UiuIwaarqijgdTR2qLPifxsVhlJrKzQ8XUIE=", + "lastModified": 1733015953, + "narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "970e93b9f82e2a0f3675757eb0bfc73297cc6370", + "rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff", "type": "github" }, "original": { @@ -255,11 +255,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1732410305, - "narHash": "sha256-/hxIKRTBsdrnudJWDGaBN8wIjHovqVAVxXdi8ByVtck=", + "lastModified": 1733015484, + "narHash": "sha256-qiyO0GrTvbp869U4VGX5GhAZ00fSiPXszvosY1AgKQ8=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "87b6978992e2eb605732fba842cad0a7e14b2047", + "rev": "0e4fdd4a0ab733276b6d2274ff84ae353f17129e", "type": "github" }, "original": { diff --git a/home-manager/modules/shell/starship.nix b/home-manager/modules/shell/starship.nix index 6dbc109..6530a94 100644 --- a/home-manager/modules/shell/starship.nix +++ b/home-manager/modules/shell/starship.nix @@ -125,7 +125,7 @@ custom.date = { disabled = false; when = true; - command = ''date +"%b %e %Y"''; + command = ''date +"%b %-d %Y"''; description = "The current local date"; style = "bg:238 fg:#E5B9E9 bold"; format = "[$output]($style)";