farewell font awesome
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
.main-window {
|
||||
background-color: $bg;
|
||||
font-family: 'Font Awesome 6 Free', FontAwesome;
|
||||
font-family: 'Sour Gummy', 'MesloLGM Nerd Font Mono', 'Noto Sans';
|
||||
border-radius: 20px;
|
||||
border: 2px solid $blue;
|
||||
}
|
||||
@@ -21,15 +21,15 @@
|
||||
}
|
||||
|
||||
.time {
|
||||
font-family: 'Sour Gummy ExtraLight';
|
||||
font-weight: bold;
|
||||
font-size: 80px;
|
||||
font-size: 100px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.date {
|
||||
font-family: 'Noto Sans';
|
||||
font-size: 24px;
|
||||
margin-top: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.weather-box {
|
||||
@@ -41,13 +41,12 @@
|
||||
}
|
||||
|
||||
.weather-desc {
|
||||
font-family: 'Noto Sans';
|
||||
color: $fg-alt;
|
||||
font-size: 20px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.weather-temp {
|
||||
font-size: 30px;
|
||||
font-size: 36px;
|
||||
color: $fg;
|
||||
padding-top: 10px;
|
||||
}
|
||||
@@ -60,7 +59,7 @@
|
||||
|
||||
.weather-updatetime {
|
||||
color: $fg-alt;
|
||||
font-size: 12px;
|
||||
font-size: 16px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@@ -73,7 +72,7 @@
|
||||
}
|
||||
|
||||
.stats-header {
|
||||
font-size: 20px;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: $gray;
|
||||
}
|
||||
@@ -126,7 +125,7 @@
|
||||
}
|
||||
|
||||
.fortune-header {
|
||||
font-size: 20px;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: $gray;
|
||||
}
|
||||
@@ -189,7 +188,7 @@
|
||||
}
|
||||
|
||||
.player-info-box {
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.player-info-title,
|
||||
@@ -212,6 +211,7 @@
|
||||
}
|
||||
|
||||
.cavabar {
|
||||
font-family: 'Noto Sans';
|
||||
font-size: 14px;
|
||||
color: $blue;
|
||||
}
|
||||
@@ -259,13 +259,11 @@
|
||||
}
|
||||
|
||||
.profile-stuff {
|
||||
font-family: 'Noto Sans';
|
||||
padding: 7px 0px 0px 30px;
|
||||
font-size: 16px;
|
||||
font-size: 20px;
|
||||
color: $fg;
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-family: 'Font Awesome 6 Free', FontAwesome;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
;; variables
|
||||
(defvar window false)
|
||||
(defpoll time :interval "1s" "date '+%H %M'")
|
||||
(defpoll time :interval "1s" "date '+%H:%M'")
|
||||
(defpoll date :interval "1s" "date '+%A, %B %d'")
|
||||
(deflisten notifications-cards "Main/scripts/logger.zsh subscribe")
|
||||
(defpoll notifications-crits :interval "1s" "Main/scripts/logger.zsh crits")
|
||||
@@ -27,7 +27,7 @@
|
||||
(defpoll music-art-blur :interval "1s" "Main/scripts/music-art --blur")
|
||||
(defpoll volume :interval "1s" "Main/scripts/system --vol")
|
||||
(defpoll brightness :interval "1s" "Main/scripts/system --bri")
|
||||
(defpoll fortune :interval "1h" "Main/scripts/fortune-split 32 9")
|
||||
(defpoll fortune :interval "1h" "Main/scripts/fortune-split 32 6")
|
||||
(deflisten cava "Main/scripts/cava")
|
||||
(defpoll title :interval "1s" "Main/scripts/music-title --status")
|
||||
(defpoll artist :interval "1s" "Main/scripts/player --artist")
|
||||
|
||||
32
eww/Main/scripts/music-album
Executable file
32
eww/Main/scripts/music-album
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set the source audio player here.
|
||||
# Players supporting the MPRIS spec are supported.
|
||||
# Examples: spotify, vlc, chrome, mpv and others.
|
||||
# Use `playerctld` to always detect the latest player.
|
||||
# See more here: https://github.com/altdesktop/playerctl/#selecting-players-to-control
|
||||
PLAYER="playerctld"
|
||||
|
||||
# Format of the information displayed
|
||||
# Eg. {{ artist }} - {{ album }} - {{ title }}
|
||||
# See more attributes here: https://github.com/altdesktop/playerctl/#printing-properties-and-metadata
|
||||
FORMAT="{{ album }}"
|
||||
|
||||
PLAYERCTL_STATUS=$(playerctl --player=$PLAYER status 2>/dev/null)
|
||||
EXIT_CODE=$?
|
||||
|
||||
if [ $EXIT_CODE -eq 0 ]; then
|
||||
STATUS=$PLAYERCTL_STATUS
|
||||
else
|
||||
STATUS="No Album"
|
||||
fi
|
||||
|
||||
if [ "$STATUS" = "Stopped" ]; then
|
||||
echo "No Album"
|
||||
elif [ "$STATUS" = "Paused" ]; then
|
||||
playerctl --player=$PLAYER metadata --format "$FORMAT"
|
||||
elif [ "$STATUS" = "No Alnum" ]; then
|
||||
echo "$STATUS"
|
||||
else
|
||||
playerctl --player=$PLAYER metadata --format "$FORMAT"
|
||||
fi
|
||||
Reference in New Issue
Block a user