mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
separator lines for tabbar
This commit is contained in:
parent
cc69a4bac4
commit
36e3171391
5 changed files with 21 additions and 4 deletions
|
|
@ -83,4 +83,11 @@ ColumnLayout {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle { // Tabbar bottom border
|
||||
id: tabBarBottomBorder
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
color: Appearance.m3colors.m3outlineVariant
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ Item { // Wrapper
|
|||
visible: root.showResults
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
color: Appearance.m3colors.m3outline
|
||||
color: Appearance.m3colors.m3outlineVariant
|
||||
}
|
||||
|
||||
ListView { // App results
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ import "./quickToggles/"
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import Quickshell.Io
|
||||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
||||
Scope {
|
||||
property int sidebarWidth: Appearance.sizes.sidebarWidth
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ Button {
|
|||
font.weight: bold ? Font.Bold : isToday == -1 ? Font.Normal : Font.DemiBold
|
||||
color: (isToday == 1) ? Appearance.m3colors.m3onPrimary :
|
||||
(isToday == 0) ? Appearance.colors.colOnLayer1 :
|
||||
Appearance.m3colors.m3outline
|
||||
Appearance.m3colors.m3outlineVariant
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
|
|
|
|||
|
|
@ -113,6 +113,13 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
Rectangle { // Tabbar bottom border
|
||||
id: tabBarBottomBorder
|
||||
Layout.fillWidth: true
|
||||
height: 1
|
||||
color: Appearance.m3colors.m3outlineVariant
|
||||
}
|
||||
|
||||
SwipeView {
|
||||
id: swipeView
|
||||
Layout.topMargin: 10
|
||||
|
|
@ -120,7 +127,10 @@ Item {
|
|||
Layout.fillHeight: true
|
||||
clip: true
|
||||
currentIndex: currentTab
|
||||
onCurrentIndexChanged: currentTab = currentIndex
|
||||
onCurrentIndexChanged: {
|
||||
tabIndicator.enableIndicatorAnimation = true
|
||||
currentTab = currentIndex
|
||||
}
|
||||
|
||||
// To Do tab
|
||||
TaskList {
|
||||
|
|
|
|||
Loading…
Reference in a new issue