From 3dfb8f524e65a42db8d2e519b2ac2bf540e1d5ce Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 24 Jan 2023 10:31:00 +0000 Subject: [PATCH] Add file purpose. Switch license from BSD-3-Clause-Clear to GPL-3.0-or-later. Remove cmus script. --- waybar/cmus.sh | 30 ------------------------------ waybar/config | 5 +++-- waybar/style.css | 5 +++-- 3 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 waybar/cmus.sh diff --git a/waybar/cmus.sh b/waybar/cmus.sh deleted file mode 100644 index b52b6e2..0000000 --- a/waybar/cmus.sh +++ /dev/null @@ -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' diff --git a/waybar/config b/waybar/config index 8f9328a..fbcb926 100644 --- a/waybar/config +++ b/waybar/config @@ -1,9 +1,10 @@ +// Inferencium // Waybar - Configuration // 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 { diff --git a/waybar/style.css b/waybar/style.css index 7f7287d..be45639 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,9 +1,10 @@ +/* Inferencium */ /* Waybar - Style */ /* 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 */ * {