Add file purpose. Switch license from BSD-3-Clause-Clear to GPL-3.0-or-later. Remove cmus script.
This commit is contained in:
parent
30f24bc427
commit
3dfb8f524e
@ -1,30 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Waybar - Script - cmus
|
|
||||||
|
|
||||||
# Copyright 2021-2023 Inference
|
|
||||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
||||||
|
|
||||||
# Version: 1.0.1.2
|
|
||||||
|
|
||||||
|
|
||||||
#prepend_zero () {
|
|
||||||
# seq -f "%02g" $1 $1
|
|
||||||
#}
|
|
||||||
|
|
||||||
#artist=$(echo -n $(cmus-remote -C status | grep "tag artist" | cut -c 12-))
|
|
||||||
|
|
||||||
#if [[ $artist = *[!\ ]* ]]; then
|
|
||||||
# song=$(echo -n $(cmus-remote -C status | grep title | cut -c 11-))
|
|
||||||
# position=$(cmus-remote -C status | grep position | cut -c 10-)
|
|
||||||
# minutes1=$(prepend_zero $(($position / 60)))
|
|
||||||
# seconds1=$(prepend_zero $(($position % 60)))
|
|
||||||
# duration=$(cmus-remote -C status | grep duration | cut -c 10-)
|
|
||||||
# minutes2=$(prepend_zero $(($duration / 60)))
|
|
||||||
# seconds2=$(prepend_zero $(($duration % 60)))
|
|
||||||
# echo -n "$artist - $song [$minutes1:$seconds1/$minutes2:$seconds2]"
|
|
||||||
#else
|
|
||||||
# echo
|
|
||||||
#fi
|
|
||||||
|
|
||||||
cmus-remote -C 'format_print %F'
|
|
@ -1,9 +1,10 @@
|
|||||||
|
// Inferencium
|
||||||
// Waybar - Configuration
|
// Waybar - Configuration
|
||||||
|
|
||||||
// Copyright 2022-2023 Inference
|
// Copyright 2022-2023 Inference
|
||||||
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
// Version: 0.0.1.3
|
// Version: 1.0.0.4
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
|
/* Inferencium */
|
||||||
/* Waybar - Style */
|
/* Waybar - Style */
|
||||||
|
|
||||||
/* Copyright 2022-2023 Inference */
|
/* Copyright 2022-2023 Inference */
|
||||||
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
|
/* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||||
|
|
||||||
/* Version: 0.0.1.1 */
|
/* Version: 1.0.0.2 */
|
||||||
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user