mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Merge pull request #733 from onelocked/main
WallpaperSettings: Add a Hide Filename toggle
This commit is contained in:
@@ -76,6 +76,13 @@ ColumnLayout {
|
||||
checked: Settings.data.wallpaper.enableMultiMonitorDirectories
|
||||
onToggled: checked => Settings.data.wallpaper.enableMultiMonitorDirectories = checked
|
||||
}
|
||||
// Hide wallpaper filenames
|
||||
NToggle {
|
||||
label: I18n.tr("settings.wallpaper.settings.hide-wallpaper-filenames.label")
|
||||
description: I18n.tr("settings.wallpaper.settings.hide-wallpaper-filenames.description")
|
||||
checked: Settings.data.wallpaper.hideWallpaperFilenames
|
||||
onToggled: checked => Settings.data.wallpaper.hideWallpaperFilenames = checked
|
||||
}
|
||||
|
||||
NBox {
|
||||
visible: Settings.data.wallpaper.enableMultiMonitorDirectories
|
||||
|
||||
@@ -560,6 +560,7 @@ SmartPanel {
|
||||
|
||||
NText {
|
||||
text: filename
|
||||
visible: !Settings.data.wallpaper.hideWallpaperFilenames
|
||||
color: (hoverHandler.hovered || isSelected || wallpaperGridView.currentIndex === index) ? Color.mOnSurface : Color.mOnSurfaceVariant
|
||||
pointSize: Style.fontSizeXS
|
||||
Layout.fillWidth: true
|
||||
|
||||
Reference in New Issue
Block a user