Compare commits
No commits in common. "6975148163a358f4992c0537c1f217f0aea8fd2d" and "689552eff251675a81d729642af270ab612c69c8" have entirely different histories.
6975148163
...
689552eff2
2 changed files with 1 additions and 12 deletions
|
@ -44,10 +44,6 @@ toolbarview#main {
|
||||||
min-height: 15px;
|
min-height: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mute #volume-scale trough highlight {
|
|
||||||
background-color: oklch(from var(--accent-bg-color) l 0% h);
|
|
||||||
}
|
|
||||||
|
|
||||||
#play-queue listview {
|
#play-queue listview {
|
||||||
background-color: rgba(0,0,0,0);
|
background-color: rgba(0,0,0,0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -176,8 +176,7 @@ mod imp {
|
||||||
|
|
||||||
// wipe state directory on init (gets rid of stale mpris cover art)
|
// wipe state directory on init (gets rid of stale mpris cover art)
|
||||||
let state_home = audrey::globals::xdg_dirs().get_state_home();
|
let state_home = audrey::globals::xdg_dirs().get_state_home();
|
||||||
// silence error (its okay if it does not exist)
|
std::fs::remove_dir_all(state_home).expect("could not remove xdg state home");
|
||||||
let _ = std::fs::remove_dir_all(state_home);
|
|
||||||
|
|
||||||
if let Some(display) = gdk::Display::default() {
|
if let Some(display) = gdk::Display::default() {
|
||||||
gtk::style_context_add_provider_for_display(&display, &self.css_provider, 420);
|
gtk::style_context_add_provider_for_display(&display, &self.css_provider, 420);
|
||||||
|
@ -477,12 +476,6 @@ mod imp {
|
||||||
|
|
||||||
fn set_mute(&self, mute: bool) {
|
fn set_mute(&self, mute: bool) {
|
||||||
self.mpv.set_property("mute", mute).unwrap();
|
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 {
|
fn pause(&self) -> bool {
|
||||||
|
|
Loading…
Reference in a new issue