quickshell: should be everything I want now
This commit is contained in:
35
quickshell/Services/IPCService.qml
Normal file
35
quickshell/Services/IPCService.qml
Normal file
@@ -0,0 +1,35 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import qs.Constants
|
||||
|
||||
Item {
|
||||
IpcHandler {
|
||||
function setPrimary(color: color) {
|
||||
SettingsService.primaryColor = color;
|
||||
}
|
||||
|
||||
target: "colors"
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
function toggleCalendar() {
|
||||
calendarPanel.toggle();
|
||||
}
|
||||
|
||||
function toggleControlCenter() {
|
||||
controlCenterPanel.toggle();
|
||||
}
|
||||
|
||||
target: "panels"
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
function toggleBarLyrics() {
|
||||
SettingsService.showLyricsBar = !SettingsService.showLyricsBar;
|
||||
}
|
||||
|
||||
target: "lyrics"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user