diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2026-01-15 16:53:43 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2026-01-15 16:53:43 -0500 |
| commit | 53008538e5bef961e9ceb5abc5c5ee05a559e97d (patch) | |
| tree | 3ad2f4fa7fbc88ff4bb67c75395cc4acdb9c09fb /.config/quickshell/Volume.qml | |
| parent | 3ac17574dbcfe68b2fba11aeeb445f04d1170c2a (diff) | |
update qs config
Diffstat (limited to '.config/quickshell/Volume.qml')
| -rw-r--r-- | .config/quickshell/Volume.qml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/.config/quickshell/Volume.qml b/.config/quickshell/Volume.qml deleted file mode 100644 index 875f1c9..0000000 --- a/.config/quickshell/Volume.qml +++ /dev/null @@ -1,22 +0,0 @@ -pragma Singleton - -import QtQuick -import Quickshell -import Quickshell.Services.Pipewire - -Singleton { - id: root - property int volume - - PwObjectTracker { - objects: [ Pipewire.defaultAudioSink ] - } - - Connections { - target: Pipewire.defaultAudioSink?.audio - - function onVolumeChanged() { - root.volume = Math.round(Pipewire.defaultAudioSink?.audio.volume * 100) - } - } -} |
