Update sway menu & lid close

This commit is contained in:
askiiart 2023-11-20 11:20:55 -06:00
parent 80f43e8f7e
commit 0babbccd19
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
61 changed files with 635 additions and 471 deletions

View file

@ -1,4 +1,6 @@
function _tide_item_rustc
path is $_tide_parent_dirs/Cargo.toml &&
_tide_print_item rustc $tide_rustc_icon' ' (rustc --version | string split ' ')[2]
if path is $_tide_parent_dirs/Cargo.toml
rustc --version | string match -qr "(?<v>[\d.]+)"
_tide_print_item rustc $tide_rustc_icon' ' $v
end
end