From ba0ead55914dad3f27241cef04cd98c4042060ee Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 17 May 2026 20:17:38 +0200 Subject: [PATCH] change module height calculation --- Colors.qml | 32 ++++++++++++++++---------------- modules/bar/Bar.qml | 2 +- modules/bar/Clock.qml | 1 - settings/settings.ini | 8 ++++---- 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/Colors.qml b/Colors.qml index fb96939..c23b961 100644 --- a/Colors.qml +++ b/Colors.qml @@ -3,24 +3,24 @@ import QtQuick QtObject { // --- The Backgrounds (Darkest to Lightest) --- - readonly property color base00: "#11121d" // Default Background - readonly property color base01: "#212234" // Lighter Background (Status bars, panels) - readonly property color base02: "#212234" // Selection Background - readonly property color base03: "#353945" // Comments, Invisibles, line highlighting + readonly property color base00: "#1d2021" // Default Background + readonly property color base01: "#3c3836" // Lighter Background (Status bars, panels) + readonly property color base02: "#504945" // Selection Background + readonly property color base03: "#665c54" // Comments, Invisibles, line highlighting // --- The Foregrounds (Darkest to Lightest) --- - readonly property color base04: "#4a5057" // Dark Foreground (Used for status bars) - readonly property color base05: "#a0a8cd" // Default Foreground, Caret - readonly property color base06: "#abb2bf" // Light Foreground (Rarely used) - readonly property color base07: "#bcc2dc" // Lightest Foreground + readonly property color base04: "#bdae93" // Dark Foreground (Used for status bars) + readonly property color base05: "#d5c4a1" // Default Foreground, Caret + readonly property color base06: "#ebdbb2" // Light Foreground (Rarely used) + readonly property color base07: "#fbf1c7" // Lightest Foreground // --- The Accent Colors --- - readonly property color base08: "#ee6d85" // Red (Variables, errors) - readonly property color base09: "#f6955b" // Orange (Integers, booleans, constants) - readonly property color base0A: "#d7a65f" // Yellow (Classes, search text bg, warnings) - readonly property color base0B: "#95c561" // Green (Strings, success states) - readonly property color base0C: "#9fbbf3" // Cyan (Support, regex, escape chars) - readonly property color base0D: "#7199ee" // Blue (Functions, methods, headings) - readonly property color base0E: "#a485dd" // Purple/Mauve (Keywords, storage, selectors) - readonly property color base0F: "#773440" // Brown/Flamingo (Deprecated, embedded tags) + readonly property color base08: "#fb4934" // Red (Variables, errors) + readonly property color base09: "#fe8019" // Orange (Integers, booleans, constants) + readonly property color base0A: "#fabd2f" // Yellow (Classes, search text bg, warnings) + readonly property color base0B: "#b8bb26" // Green (Strings, success states) + readonly property color base0C: "#8ec07c" // Cyan (Support, regex, escape chars) + readonly property color base0D: "#83a598" // Blue (Functions, methods, headings) + readonly property color base0E: "#d3869b" // Purple/Mauve (Keywords, storage, selectors) + readonly property color base0F: "#d65d0e" // Brown/Flamingo (Deprecated, embedded tags) } diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index f0cc91b..ad08081 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -11,7 +11,7 @@ Variants { delegate: WlrLayershell { id: root required property var modelData - property double moduleHeight: implicitHeight - 8 + property double moduleHeight: implicitHeight / 1.5 screen: modelData anchors { top: true diff --git a/modules/bar/Clock.qml b/modules/bar/Clock.qml index e053e8d..113e3d2 100644 --- a/modules/bar/Clock.qml +++ b/modules/bar/Clock.qml @@ -1,5 +1,4 @@ import Quickshell -import Quickshell.Widgets import QtQuick import qs import qs.widgets diff --git a/settings/settings.ini b/settings/settings.ini index 5ba5e25..5f3fcd0 100644 --- a/settings/settings.ini +++ b/settings/settings.ini @@ -1,7 +1,7 @@ [General] barHeight=34 -font=ProFont IIx Nerd Font +font=FiraCode Nerd Font fontSize=14 -opacity=0.5 -roudning=20 -wallpaper=@Variant(\0\0\0\x11\0\0\0!file:///home/lucy/.wall/mooon.png) +opacity=1 +roudning=16 +wallpaper=@Variant(\0\0\0\x11\0\0\0'file:///home/lucy/.wall/frierensuff.png)