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
maplemono-nf-cn / ttf-maplemono-nf-cn-unhinted (archlinuxcn)
ttf-font-awesome
Sour Gummy
ttf-meslo-nerd
ttf-jetbrains-mono-nerd
spicetify # spotify tweaks

View File

@@ -3,6 +3,6 @@ sleep 1
killall -e xdg-desktop-portal-hyprland
killall -e xdg-desktop-portal-wlr
killall xdg-desktop-portal
/usr/lib/xdg-desktop-portal-hyprland &
/usr/lib/xdg-desktop-portal-hyprland -v &
sleep 2
/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/tiling.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)
- Maple Mono NF CN
- Font Awesome 6 Free
- Sour Gummy
- Noto Sans
- ...

View File

@@ -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;
}

View File

@@ -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
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
exec-once = solaar -w hide
# Applications associations
exec-once = kbuildsycoca6

View File

@@ -1,7 +1,7 @@
# MONITOR CONFIG
monitor=,preferred,auto,1
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
# HDMI port: mirror display. To see device name, use `hyprctl monitors`

View File

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

View File

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

View File

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

View File

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