farewell font awesome

This commit is contained in:
2025-07-30 13:01:57 +02:00
parent f2144078e9
commit 31b5613552
12 changed files with 125 additions and 91 deletions

View File

@@ -54,7 +54,7 @@ polkit-gnome # polkit authentication agent
# fonts & themes # fonts & themes
maplemono-nf-cn / ttf-maplemono-nf-cn-unhinted (archlinuxcn) maplemono-nf-cn / ttf-maplemono-nf-cn-unhinted (archlinuxcn)
ttf-font-awesome Sour Gummy
ttf-meslo-nerd ttf-meslo-nerd
ttf-jetbrains-mono-nerd ttf-jetbrains-mono-nerd
spicetify # spotify tweaks spicetify # spotify tweaks

View File

@@ -3,6 +3,6 @@ sleep 1
killall -e xdg-desktop-portal-hyprland killall -e xdg-desktop-portal-hyprland
killall -e xdg-desktop-portal-wlr killall -e xdg-desktop-portal-wlr
killall xdg-desktop-portal killall xdg-desktop-portal
/usr/lib/xdg-desktop-portal-hyprland & /usr/lib/xdg-desktop-portal-hyprland -v &
sleep 2 sleep 2
/usr/lib/xdg-desktop-portal & /usr/lib/xdg-desktop-portal &

View File

@@ -1,3 +1,10 @@
<!--
* @Author: Uyanide pywang0608@foxmail.com
* @Date: 2025-06-24 17:56:20
* @LastEditTime: 2025-07-30 13:00:43
* @Discription:
-->
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/desktop.jpg?raw=true"/> <img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/desktop.jpg?raw=true"/>
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/tiling.jpg?raw=true"/> <img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/tiling.jpg?raw=true"/>
<img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/grub.jpg?raw=true"/> <img src="https://github.com/Uyanide/backgrounds/blob/master/screenshots/grub.jpg?raw=true"/>
@@ -44,6 +51,6 @@ including:
- MesloLGM Nerd Font (& Mono) - MesloLGM Nerd Font (& Mono)
- Maple Mono NF CN - Maple Mono NF CN
- Font Awesome 6 Free - Sour Gummy
- Noto Sans - Noto Sans
- ... - ...

View File

@@ -5,7 +5,7 @@
.main-window { .main-window {
background-color: $bg; background-color: $bg;
font-family: 'Font Awesome 6 Free', FontAwesome; font-family: 'Sour Gummy', 'MesloLGM Nerd Font Mono', 'Noto Sans';
border-radius: 20px; border-radius: 20px;
border: 2px solid $blue; border: 2px solid $blue;
} }
@@ -21,15 +21,15 @@
} }
.time { .time {
font-family: 'Sour Gummy ExtraLight';
font-weight: bold; font-weight: bold;
font-size: 80px; font-size: 100px;
margin-top: 24px; margin-top: 24px;
} }
.date { .date {
font-family: 'Noto Sans';
font-size: 24px; font-size: 24px;
margin-top: 20px; margin-top: 10px;
} }
.weather-box { .weather-box {
@@ -41,13 +41,12 @@
} }
.weather-desc { .weather-desc {
font-family: 'Noto Sans';
color: $fg-alt; color: $fg-alt;
font-size: 20px; font-size: 24px;
} }
.weather-temp { .weather-temp {
font-size: 30px; font-size: 36px;
color: $fg; color: $fg;
padding-top: 10px; padding-top: 10px;
} }
@@ -60,7 +59,7 @@
.weather-updatetime { .weather-updatetime {
color: $fg-alt; color: $fg-alt;
font-size: 12px; font-size: 16px;
margin-top: 10px; margin-top: 10px;
} }
@@ -73,7 +72,7 @@
} }
.stats-header { .stats-header {
font-size: 20px; font-size: 24px;
font-weight: bold; font-weight: bold;
color: $gray; color: $gray;
} }
@@ -126,7 +125,7 @@
} }
.fortune-header { .fortune-header {
font-size: 20px; font-size: 24px;
font-weight: bold; font-weight: bold;
color: $gray; color: $gray;
} }
@@ -189,7 +188,7 @@
} }
.player-info-box { .player-info-box {
font-size: 14px; font-size: 16px;
} }
.player-info-title, .player-info-title,
@@ -212,6 +211,7 @@
} }
.cavabar { .cavabar {
font-family: 'Noto Sans';
font-size: 14px; font-size: 14px;
color: $blue; color: $blue;
} }
@@ -259,13 +259,11 @@
} }
.profile-stuff { .profile-stuff {
font-family: 'Noto Sans';
padding: 7px 0px 0px 30px; padding: 7px 0px 0px 30px;
font-size: 16px; font-size: 20px;
color: $fg; color: $fg;
} }
.profile-name { .profile-name {
font-family: 'Font Awesome 6 Free', FontAwesome;
font-weight: bold; font-weight: bold;
} }

View File

@@ -1,6 +1,6 @@
;; variables ;; variables
(defvar window false) (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'") (defpoll date :interval "1s" "date '+%A, %B %d'")
(deflisten notifications-cards "Main/scripts/logger.zsh subscribe") (deflisten notifications-cards "Main/scripts/logger.zsh subscribe")
(defpoll notifications-crits :interval "1s" "Main/scripts/logger.zsh crits") (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 music-art-blur :interval "1s" "Main/scripts/music-art --blur")
(defpoll volume :interval "1s" "Main/scripts/system --vol") (defpoll volume :interval "1s" "Main/scripts/system --vol")
(defpoll brightness :interval "1s" "Main/scripts/system --bri") (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") (deflisten cava "Main/scripts/cava")
(defpoll title :interval "1s" "Main/scripts/music-title --status") (defpoll title :interval "1s" "Main/scripts/music-title --status")
(defpoll artist :interval "1s" "Main/scripts/player --artist") (defpoll artist :interval "1s" "Main/scripts/player --artist")

32
eww/Main/scripts/music-album Executable file
View 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

View File

@@ -36,3 +36,6 @@ exec-once = hyprctl plugin load "/usr/lib/libhyprexpo.so"
# Logitech Mouse # Logitech Mouse
exec-once = solaar -w hide exec-once = solaar -w hide
# Applications associations
exec-once = kbuildsycoca6

View File

@@ -1,7 +1,7 @@
# MONITOR CONFIG # MONITOR CONFIG
monitor=,preferred,auto,1 monitor=,preferred,auto,1
monitor=eDP-1,2560x1600@240,auto,1.25 # dGPU only monitor=eDP-1,2560x1600@240,auto,1.25 # dGPU only
monitor=eDP-2,2560x1600@240,auto,1.25 # iGPU & dGPU hybrid monitor=eDP-2,2560x1600@240,auto,1.25,bitdepth,10 # iGPU & dGPU hybrid
# monitor=,addreserved, 0, 0, 0, 0 # Custom reserved area # monitor=,addreserved, 0, 0, 0, 0 # Custom reserved area
# HDMI port: mirror display. To see device name, use `hyprctl monitors` # HDMI port: mirror display. To see device name, use `hyprctl monitors`

View File

@@ -51,7 +51,6 @@
"format": " |", "format": " |",
"tooltip": false "tooltip": false
}, },
// Buttons // Buttons
"custom/power": { "custom/power": {
"format": "󰐥", "format": "󰐥",
@@ -87,7 +86,6 @@
"inactive": "" "inactive": ""
} }
}, },
// Time and Date // Time and Date
"clock": { "clock": {
"format": " {:%H:%M  %e %b}", "format": " {:%H:%M  %e %b}",
@@ -119,7 +117,6 @@
"on-click": "~/.config/hypr/scripts/screenshot_full", "on-click": "~/.config/hypr/scripts/screenshot_full",
"on-click-right": "~/.config/hypr/scripts/screenshot_area" "on-click-right": "~/.config/hypr/scripts/screenshot_area"
}, },
// System monitors // System monitors
"group/monitors": { "group/monitors": {
"modules": ["network#speed", "temperature", "memory", "cpu", "battery", "backlight", "wireplumber"], "modules": ["network#speed", "temperature", "memory", "cpu", "battery", "backlight", "wireplumber"],
@@ -214,7 +211,6 @@
"max-length": 7, "max-length": 7,
"min-length": 7 "min-length": 7
}, },
// Hyprland // Hyprland
"group/workspaceactions": { "group/workspaceactions": {
"modules": ["hyprland/workspaces#special", "hyprland/workspaces", "custom/workspacenew"], "modules": ["hyprland/workspaces#special", "hyprland/workspaces", "custom/workspacenew"],
@@ -235,7 +231,7 @@
"persistent-only": true, "persistent-only": true,
"show-special": true, "show-special": true,
"special-visible-only": false, "special-visible-only": false,
"format": "{icon}" "format": "S"
}, },
"custom/workspacenew": { "custom/workspacenew": {
"format": "+", "format": "+",
@@ -266,7 +262,6 @@
"icon-size": 15, "icon-size": 15,
"spacing": 5 "spacing": 5
}, },
// Not used // Not used
"network": { "network": {
"format-wifi": " {essid} ({signalStrength}%)", "format-wifi": " {essid} ({signalStrength}%)",
@@ -290,7 +285,6 @@
"interval": 60, "interval": 60,
"exec": "~/.config/waybar/modules/storage.sh" "exec": "~/.config/waybar/modules/storage.sh"
}, },
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
@@ -396,7 +390,6 @@
"interval": 1, "interval": 1,
"exec": "$HOME/.config/waybar/get_kbdlayout.sh" "exec": "$HOME/.config/waybar/get_kbdlayout.sh"
},*/ },*/
"pulseaudio": { "pulseaudio": {
"scroll-step": 3, // %, can be a float "scroll-step": 3, // %, can be a float
"format": "{icon} {volume}% {format_source}", "format": "{icon} {volume}% {format_source}",

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from gi.repository.Playerctl import Player
from gi.repository import Playerctl, GLib
from typing import List from typing import List
import os import os
import json import json
@@ -10,8 +12,6 @@ import argparse
import gi import gi
gi.require_version("Playerctl", "2.0") gi.require_version("Playerctl", "2.0")
from gi.repository import Playerctl, GLib
from gi.repository.Playerctl import Player
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@@ -1,8 +1,9 @@
@import 'mocha.css'; @import 'mocha.css';
* { * {
font-family: 'Font Awesome 6 Free Regular', 'Maple Mono NF CN ExtraLight', 'Noto Sans', Arial, sans-serif; /* main font icons Chinese/Japanese/... Fallback */
font-size: 12px; font-family: 'Sour Gummy Light', 'Meslo LGM Nerd Font Mono', 'Maple Mono NF CN ExtraLight', 'Noto Sans', sans-serif;
font-size: 16px;
font-weight: 900; font-weight: 900;
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -39,7 +40,7 @@ tooltip {
#custom-workspacenew, #custom-workspacenew,
#workspaces button { #workspaces button {
padding: 3px 5px; /* Adjusted padding to reduce height */ padding: 0px 5px; /* Adjusted padding to reduce height */
margin: 3px 5px; /* Reduced margin slightly */ margin: 3px 5px; /* Reduced margin slightly */
border-radius: 6px; border-radius: 6px;
color: @foreground; color: @foreground;

View File

@@ -1,7 +1,7 @@
* { * {
background-image: none; background-image: none;
font-size: 16px; font-size: 24px;
font-family: 'Font Awesome 6 Free', 'Noto Sans', Arial, sans-serif; font-family: 'Sour Gummy Light';
} }
window { window {