chore(appearance): remove call to set icon theme as this is handled by cosmic-settings-daemon
This commit is contained in:
parent
e2bb9ad246
commit
dd57d1ac40
2 changed files with 0 additions and 15 deletions
|
|
@ -203,8 +203,6 @@ impl Content {
|
|||
if let Some(ref config) = self.tk_config {
|
||||
_ = config.set::<String>("icon_theme", theme.id);
|
||||
}
|
||||
|
||||
tokio::spawn(icon_themes::set_gnome_icon_theme(theme.name));
|
||||
}
|
||||
}
|
||||
IconMessage::ApplyThemeGlobal(enabled) => {
|
||||
|
|
|
|||
|
|
@ -237,19 +237,6 @@ pub async fn fetch() -> Message {
|
|||
))
|
||||
}
|
||||
|
||||
/// Set the preferred icon theme for GNOME/GTK applications.
|
||||
pub async fn set_gnome_icon_theme(theme: String) {
|
||||
let _res = tokio::process::Command::new("gsettings")
|
||||
.args([
|
||||
"set",
|
||||
"org.gnome.desktop.interface",
|
||||
"icon-theme",
|
||||
theme.as_str(),
|
||||
])
|
||||
.status()
|
||||
.await;
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
||||
pub struct IconTheme {
|
||||
// COSMIC uses the file name of the folder containing the theme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue