chore: update desktop entries

This commit is contained in:
Vukašin Vojinović 2024-08-13 19:09:29 +02:00 committed by Michael Murphy
parent 481a67d341
commit f758451ab9
5 changed files with 19 additions and 3 deletions

View file

@ -92,7 +92,7 @@ impl page::Page<crate::pages::Message> for Page {
}
fn info(&self) -> page::Info {
page::Info::new("sound", "multimedia-volume-control-symbolic")
page::Info::new("sound", "preferences-sound-symbolic")
.title(fl!("sound"))
.description(fl!("sound", "desc"))
}

1
debian/install vendored
View file

@ -10,6 +10,7 @@
/usr/share/applications/com.system76.CosmicSettings.Mouse.desktop
/usr/share/applications/com.system76.CosmicSettings.Notifications.desktop
/usr/share/applications/com.system76.CosmicSettings.Panel.desktop
/usr/share/applications/com.system76.CosmicSettings.Power.desktop
/usr/share/applications/com.system76.CosmicSettings.RegionLanguage.desktop
/usr/share/applications/com.system76.CosmicSettings.Sound.desktop
/usr/share/applications/com.system76.CosmicSettings.Touchpad.desktop

View file

@ -35,6 +35,7 @@ entry-keyboard := appid + '.Keyboard.desktop'
entry-mouse := appid + '.Mouse.desktop'
entry-notifications := appid + '.Notifications.desktop'
entry-panel := appid + '.Panel.desktop'
entry-power := appid + '.Power.desktop'
entry-region-language := appid + '.RegionLanguage.desktop'
entry-sound := appid + '.Sound.desktop'
entry-touchpad := appid + '.Touchpad.desktop'
@ -60,6 +61,7 @@ install-desktop-entries:
install -Dm0644 'resources/{{entry-mouse}}' '{{appdir}}/{{entry-mouse}}'
install -Dm0644 'resources/{{entry-notifications}}' '{{appdir}}/{{entry-notifications}}'
install -Dm0644 'resources/{{entry-panel}}' '{{appdir}}/{{entry-panel}}'
install -Dm0644 'resources/{{entry-power}}' '{{appdir}}/{{entry-power}}'
install -Dm0644 'resources/{{entry-region-language}}' '{{appdir}}/{{entry-region-language}}'
install -Dm0644 'resources/{{entry-sound}}' '{{appdir}}/{{entry-sound}}'
install -Dm0644 'resources/{{entry-touchpad}}' '{{appdir}}/{{entry-touchpad}}'
@ -97,6 +99,7 @@ uninstall:
'{{appdir}}/{{entry-mouse}}' \
'{{appdir}}/{{entry-notifications}}' \
'{{appdir}}/{{entry-panel}}' \
'{{appdir}}/{{entry-power}}' \
'{{appdir}}/{{entry-region-language}}' \
'{{appdir}}/{{entry-sound}}' \
'{{appdir}}/{{entry-touchpad}}' \
@ -121,4 +124,4 @@ libinput
libudev
wayland-client=1.20
xkbcommon
"
"

View file

@ -0,0 +1,12 @@
[Desktop Entry]
Name=Power & Battery
Comment=Power modes and power saving options.
Type=Settings
Exec=cosmic-settings power
Terminal=false
Categories=COSMIC
Keywords=COSMIC
NoDisplay=true
OnlyShowIn=COSMIC
Icon=preferences-power-and-battery
StartupNotify=true

View file

@ -8,5 +8,5 @@ Categories=COSMIC
Keywords=COSMIC
NoDisplay=true
OnlyShowIn=COSMIC
Icon=com.system76.CosmicSettings
Icon=preferences-sound
StartupNotify=true