Commit b19de025 authored by epsi sayidina's avatar epsi sayidina

lua: use os.execute instead of exec

parent 76cd042d
......@@ -13,7 +13,6 @@ import MyStartup
main = do
-- background before wallpaper
system $ "xsetroot -solid '" ++ myColor "blue500" ++ "'"
--putStrLn $ "xsetroot -solid '" ++ myColor "blue500" ++ "'"
-- Read the manual in $ man herbstluftwm
hc "emit_hook reload"
......@@ -67,7 +66,3 @@ main = do
-- load on startup
startup_run
......@@ -3,8 +3,6 @@
import os
#import subprocess
from assets.gmc import color
import helper
......@@ -73,5 +71,3 @@ helper.do_panel()
# load on startup
startup.run()
......@@ -3,7 +3,7 @@
-- alternative 1
type Pair = (String, String)
pair :: (String, String)
pair :: Pair
pair = ("key", "value")
-- note: no constructor, give error
......
-- Accessing Associative Array in Haskell
-- Passing Argument with Map in Haskell
import System.Process
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment