From: Dylan Lloyd Date: Mon, 27 Feb 2012 06:29:57 +0000 (-0500) Subject: got rid of unnecessary X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=b8129145f11a5b7bfb9b95413c84401853d2e439;p=powermate.git got rid of unnecessary --- diff --git a/powermate.hs b/powermate.hs index 04ae85d..eff82d6 100755 --- a/powermate.hs +++ b/powermate.hs @@ -22,8 +22,8 @@ processEvent state (Button True) = do processEvent state (Button False) = do time <- getCurrentTime if (diffUTCTime (time) (stLastPress state) > 0.8) then - ( do c <- runCommand "amixer set Master toggle"; return () ) - else ( do c <- runCommand "music-toggle"; return () ) + ( do runCommand "amixer set Master toggle"; return () ) + else ( do runCommand "music-toggle"; return () ) return state processEvent state (Rotate dir) = do