summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Run
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar/Run')
-rw-r--r--src/Xmobar/Run/Runnable.hs2
-rw-r--r--src/Xmobar/Run/Runnable.hs-boot1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Xmobar/Run/Runnable.hs b/src/Xmobar/Run/Runnable.hs
index 068a05b..f89f901 100644
--- a/src/Xmobar/Run/Runnable.hs
+++ b/src/Xmobar/Run/Runnable.hs
@@ -34,7 +34,7 @@ instance Exec Runnable where
trigger (Run a) = trigger a
instance Show Runnable where
- show (Run x) = show x
+ show (Run x) = "Run " ++ show x
instance Read Runnable where
readPrec = readRunnable
diff --git a/src/Xmobar/Run/Runnable.hs-boot b/src/Xmobar/Run/Runnable.hs-boot
index 1cd1688..0d4b827 100644
--- a/src/Xmobar/Run/Runnable.hs-boot
+++ b/src/Xmobar/Run/Runnable.hs-boot
@@ -4,5 +4,6 @@ import Xmobar.Run.Exec
data Runnable = forall r . (Exec r,Read r,Show r) => Run r
+instance Show Runnable
instance Read Runnable
instance Exec Runnable