summaryrefslogtreecommitdiffstats
path: root/kmix/kmix.kcfg
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-12-12 16:24:28 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2024-03-28 16:46:51 +0000
commit3168c39ef1e445db1a6e22a7ba63e8cb4714e6e8 (patch)
tree7c7c50394d82ed36fb482b9eec8bf9a5cf4ebb99 /kmix/kmix.kcfg
parent62f0e274561bb928a50a9fcb7ee427e9d1dacfd5 (diff)
downloadtdemultimedia-3168c39ef1e445db1a6e22a7ba63e8cb4714e6e8.tar.gz
tdemultimedia-3168c39ef1e445db1a6e22a7ba63e8cb4714e6e8.zip
KMix: system tray icon enhancements
* XDG-compliant icon names with volume level specification (low, medium, high) Low-Medium threshold: 33% Medium-High threshold: 67% * Improved built-in icon theme with distinct volume levels (according to above) * Choice between classic KMix icon theme, imrpoved KMix icon theme and system theme. * New KMixDockWidget::getAvgVolume() method Gets average volume in %. Code actually comes from KMixDockWidget::setVolumeTip(), but was put into a separate method to be reused for determination of icon according to the volume level
Diffstat (limited to 'kmix/kmix.kcfg')
-rw-r--r--kmix/kmix.kcfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/kmix/kmix.kcfg b/kmix/kmix.kcfg
index b6d595bd..d4ca0956 100644
--- a/kmix/kmix.kcfg
+++ b/kmix/kmix.kcfg
@@ -99,4 +99,21 @@
<default></default>
</entry>
</group>
+ <group name="Appearance">
+ <entry key="IconTheme" type="Enum">
+ <choices>
+ <choice name="Crystal">
+ <label>Crystal</label>
+ </choice>
+ <choice name="OldCrystal">
+ <label>Classic (Old Crystal)</label>
+ </choice>
+ <choice name="System">
+ <label>System theme</label>
+ </choice>
+ </choices>
+ <default>Crystal</default>
+ <label>Icon Theme</label>
+ </entry>
+ </group>
</kcfg> \ No newline at end of file