Compare commits

..

No commits in common. "6975148163a358f4992c0537c1f217f0aea8fd2d" and "689552eff251675a81d729642af270ab612c69c8" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View file

@ -44,10 +44,6 @@ toolbarview#main {
min-height: 15px;
}
.mute #volume-scale trough highlight {
background-color: oklch(from var(--accent-bg-color) l 0% h);
}
#play-queue listview {
background-color: rgba(0,0,0,0);
}

View file

@ -176,8 +176,7 @@ mod imp {
// wipe state directory on init (gets rid of stale mpris cover art)
let state_home = audrey::globals::xdg_dirs().get_state_home();
// silence error (its okay if it does not exist)
let _ = std::fs::remove_dir_all(state_home);
std::fs::remove_dir_all(state_home).expect("could not remove xdg state home");
if let Some(display) = gdk::Display::default() {
gtk::style_context_add_provider_for_display(&display, &self.css_provider, 420);
@ -477,12 +476,6 @@ mod imp {
fn set_mute(&self, mute: bool) {
self.mpv.set_property("mute", mute).unwrap();
if mute {
self.obj().add_css_class("mute");
} else {
self.obj().remove_css_class("mute");
}
}
fn pause(&self) -> bool {