mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
version: prefer git head over VERSION file
This commit is contained in:
@@ -128,7 +128,7 @@ Singleton {
|
|||||||
id: versionDetection
|
id: versionDetection
|
||||||
command: [
|
command: [
|
||||||
"sh", "-c",
|
"sh", "-c",
|
||||||
`cd "${Quickshell.shellDir}" && if [ -f VERSION ]; then cat VERSION; elif [ -d .git ]; then echo "(git) $(git rev-parse --short HEAD)"; fi`
|
`cd "${Quickshell.shellDir}" && if [ -d .git ]; then echo "(git) $(git rev-parse --short HEAD)"; elif [ -f VERSION ]; then cat VERSION; fi`
|
||||||
]
|
]
|
||||||
|
|
||||||
stdout: StdioCollector {
|
stdout: StdioCollector {
|
||||||
|
|||||||
Reference in New Issue
Block a user