farewell font awesome
This commit is contained in:
+4
-11
@@ -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"],
|
||||
@@ -128,11 +125,11 @@
|
||||
"network#speed": {
|
||||
"interval": 1,
|
||||
"format": "{ifname}",
|
||||
"format-wifi": " {bandwidthDownBytes} {bandwidthUpBytes} ",
|
||||
"format-ethernet": " {bandwidthDownBytes} {bandwidthUpBytes} ",
|
||||
"format-wifi": " {bandwidthDownBytes} {bandwidthUpBytes} ",
|
||||
"format-ethernet": " {bandwidthDownBytes} {bandwidthUpBytes} ",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"tooltip-format-wifi": "{essid} {signalStrength}%",
|
||||
"tooltip-format-ethernet": "{ifname} ",
|
||||
"tooltip-format-disconnected": " Disconnected",
|
||||
@@ -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}",
|
||||
|
||||
@@ -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__)
|
||||
@@ -137,9 +137,9 @@ class PlayerManager:
|
||||
|
||||
if track_info:
|
||||
if player.props.status == "Playing":
|
||||
track_info = " " + track_info
|
||||
track_info = " " + track_info
|
||||
else:
|
||||
track_info = " " + track_info
|
||||
track_info = " " + track_info
|
||||
# only print output if no other player is playing
|
||||
current_playing = self.get_first_playing_player()
|
||||
if (
|
||||
|
||||
+4
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user