Compare commits
No commits in common. "0f71e6ca453d2b8bf931349135dfa075be3b9f63" and "76d680a95b44b18b13f33a974a5eb626fc833edd" have entirely different histories.
0f71e6ca45
...
76d680a95b
4 changed files with 2 additions and 44 deletions
|
|
@ -3,7 +3,6 @@ pragma Singleton
|
|||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
property string brickWall: "\u{E586}"
|
||||
property string coffee: "\u{E09a}"
|
||||
property string triangle: "\u{E192}"
|
||||
property string triangleDashed: "\u{E642}"
|
||||
|
|
|
|||
|
|
@ -92,10 +92,6 @@ Scope {
|
|||
|
||||
spacing: Dimensions.bar.spacing
|
||||
|
||||
Pywal {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
Pipewire {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import QtQuick
|
||||
import Quickshell.Io
|
||||
import "../../../config/"
|
||||
import "../../../constants/"
|
||||
|
|
@ -40,6 +41,6 @@ Clickable {
|
|||
|
||||
Process {
|
||||
id: process
|
||||
command: ["sh", "-c", "systemd-inhibit --what=idle --who=Caffeine --why='Caffeine module is active' --mode=block sleep inf"]
|
||||
command: ["sh", "-c", "systemd-inhibit --what=idle --who=Caffeine --why=Caffeine --mode=block sleep inf"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
import QtQuick
|
||||
import Quickshell.Io
|
||||
import "../../../config/"
|
||||
import "../../../constants/"
|
||||
import "../../../styled/"
|
||||
|
||||
Clickable {
|
||||
id: clickable
|
||||
|
||||
implicitWidth: text.width
|
||||
implicitHeight: Dimensions.caffeine.height
|
||||
|
||||
onClicked: {
|
||||
process.running = true;
|
||||
}
|
||||
|
||||
StyledText {
|
||||
id: text
|
||||
|
||||
font.family: Theme.lucide.font.family
|
||||
font.pixelSize: Dimensions.caffeine.fontSize
|
||||
font.bold: true
|
||||
text: Icons.brickWall
|
||||
|
||||
color: clickable.containsMouse ? Theme.palette.base300 : Theme.palette.basecontent
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
topPadding: Dimensions.caffeine.verticalPadding
|
||||
bottomPadding: Dimensions.caffeine.verticalPadding
|
||||
leftPadding: Dimensions.caffeine.horizontalPadding
|
||||
rightPadding: Dimensions.caffeine.horizontalPadding
|
||||
}
|
||||
|
||||
Process {
|
||||
id: process
|
||||
command: ["sh", "-c", "~/dotfiles/.scripts/pywal-swww.sh"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue