change module height calculation

This commit is contained in:
lucy 2026-05-17 20:17:38 +02:00
commit ba0ead5591
4 changed files with 21 additions and 22 deletions

View file

@ -3,24 +3,24 @@ import QtQuick
QtObject { QtObject {
// --- The Backgrounds (Darkest to Lightest) --- // --- The Backgrounds (Darkest to Lightest) ---
readonly property color base00: "#11121d" // Default Background readonly property color base00: "#1d2021" // Default Background
readonly property color base01: "#212234" // Lighter Background (Status bars, panels) readonly property color base01: "#3c3836" // Lighter Background (Status bars, panels)
readonly property color base02: "#212234" // Selection Background readonly property color base02: "#504945" // Selection Background
readonly property color base03: "#353945" // Comments, Invisibles, line highlighting readonly property color base03: "#665c54" // Comments, Invisibles, line highlighting
// --- The Foregrounds (Darkest to Lightest) --- // --- The Foregrounds (Darkest to Lightest) ---
readonly property color base04: "#4a5057" // Dark Foreground (Used for status bars) readonly property color base04: "#bdae93" // Dark Foreground (Used for status bars)
readonly property color base05: "#a0a8cd" // Default Foreground, Caret readonly property color base05: "#d5c4a1" // Default Foreground, Caret
readonly property color base06: "#abb2bf" // Light Foreground (Rarely used) readonly property color base06: "#ebdbb2" // Light Foreground (Rarely used)
readonly property color base07: "#bcc2dc" // Lightest Foreground readonly property color base07: "#fbf1c7" // Lightest Foreground
// --- The Accent Colors --- // --- The Accent Colors ---
readonly property color base08: "#ee6d85" // Red (Variables, errors) readonly property color base08: "#fb4934" // Red (Variables, errors)
readonly property color base09: "#f6955b" // Orange (Integers, booleans, constants) readonly property color base09: "#fe8019" // Orange (Integers, booleans, constants)
readonly property color base0A: "#d7a65f" // Yellow (Classes, search text bg, warnings) readonly property color base0A: "#fabd2f" // Yellow (Classes, search text bg, warnings)
readonly property color base0B: "#95c561" // Green (Strings, success states) readonly property color base0B: "#b8bb26" // Green (Strings, success states)
readonly property color base0C: "#9fbbf3" // Cyan (Support, regex, escape chars) readonly property color base0C: "#8ec07c" // Cyan (Support, regex, escape chars)
readonly property color base0D: "#7199ee" // Blue (Functions, methods, headings) readonly property color base0D: "#83a598" // Blue (Functions, methods, headings)
readonly property color base0E: "#a485dd" // Purple/Mauve (Keywords, storage, selectors) readonly property color base0E: "#d3869b" // Purple/Mauve (Keywords, storage, selectors)
readonly property color base0F: "#773440" // Brown/Flamingo (Deprecated, embedded tags) readonly property color base0F: "#d65d0e" // Brown/Flamingo (Deprecated, embedded tags)
} }

View file

@ -11,7 +11,7 @@ Variants {
delegate: WlrLayershell { delegate: WlrLayershell {
id: root id: root
required property var modelData required property var modelData
property double moduleHeight: implicitHeight - 8 property double moduleHeight: implicitHeight / 1.5
screen: modelData screen: modelData
anchors { anchors {
top: true top: true

View file

@ -1,5 +1,4 @@
import Quickshell import Quickshell
import Quickshell.Widgets
import QtQuick import QtQuick
import qs import qs
import qs.widgets import qs.widgets

View file

@ -1,7 +1,7 @@
[General] [General]
barHeight=34 barHeight=34
font=ProFont IIx Nerd Font font=FiraCode Nerd Font
fontSize=14 fontSize=14
opacity=0.5 opacity=1
roudning=20 roudning=16
wallpaper=@Variant(\0\0\0\x11\0\0\0!file:///home/lucy/.wall/mooon.png) wallpaper=@Variant(\0\0\0\x11\0\0\0'file:///home/lucy/.wall/frierensuff.png)