Răsfoiți Sursa

Remove cmus support

Thomas Dy 9 ani în urmă
părinte
comite
6e6ed73711
2 a modificat fișierele cu 0 adăugiri și 6 ștergeri
  1. 0 5
      src/bar.rs
  2. 0 1
      src/external.rs

+ 0 - 5
src/bar.rs

@@ -60,11 +60,6 @@ impl Bar {
                         .output()
                         .ok(),
 
-                    'c' => Command::new("cmus-remote")
-                        .arg("--pause")
-                        .output()
-                        .ok(),
-
                     'm' => Command::new("mpc")
                         .arg("toggle")
                         .output()

+ 0 - 1
src/external.rs

@@ -12,7 +12,6 @@ pub fn external(tx: &Channel, _cfg: &Config) {
         let line = line.trim();
 
         match kind {
-            'M' => comm::send(tx, "cmus", &format!("%{{A:cmus:}}{}%{{A}}", line)),
             'W' => comm::send(tx, "desktops", &parse_bspwm(line)),
             _ => ()
         }